diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000000..b512c09d47 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +node_modules \ No newline at end of file diff --git a/.prettierrc.yaml b/.prettierrc.yaml new file mode 100644 index 0000000000..0c03d914b1 --- /dev/null +++ b/.prettierrc.yaml @@ -0,0 +1,3 @@ +tabWidth: 4 +semi: false +singleQuote: true diff --git a/eslint.config.mjs b/eslint.config.mjs new file mode 100644 index 0000000000..a5dc7820be --- /dev/null +++ b/eslint.config.mjs @@ -0,0 +1,12 @@ +import globals from 'globals' +import pluginJs from '@eslint/js' +import config from 'eslint-config-prettier' +import plugin from 'eslint-plugin-prettier/recommended' + +/** @type {import('eslint').Linter.Config[]} */ +export default [ + { languageOptions: { globals: globals.browser } }, + pluginJs.configs.recommended, + config, + plugin, +] diff --git a/index.html b/index.html index 6f14ae14aa..9ba0007d6f 100644 --- a/index.html +++ b/index.html @@ -1,71 +1,36 @@ - + - - Проект "Комменты" - - - + + Проект "Комменты" + + + - -
-