diff --git a/.prettierrc.yaml b/.prettierrc.yaml new file mode 100644 index 000000000..0c03d914b --- /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 000000000..9f0c95c3d --- /dev/null +++ b/eslint.config.mjs @@ -0,0 +1,16 @@ +import js from '@eslint/js' +import globals from 'globals' +import { defineConfig } from 'eslint/config' +import config from 'eslint-config-prettier' +import plugin from 'eslint-plugin-prettier/recommended' + +export default defineConfig([ + { + files: ['**/*.{js,mjs,cjs}'], + plugins: { js }, + extends: ['js/recommended'], + languageOptions: { globals: globals.browser }, + }, + config, + plugin, +]) diff --git a/index.html b/index.html index 6f14ae14a..482e46450 100644 --- a/index.html +++ b/index.html @@ -1,71 +1,59 @@ -
-
+-
+
+ Глеб Фокин
+ 12.02.22 12:18
+
+
+
+ Это будет первый комментарий на этой странице
-
- -
-
- Варвара Н.
- 13.02.22 19:22
+
+
+
+ 3
+
-
-
- Мне нравится как оформлена эта страница! ❤
-
+
+
+ -
+
+ Варвара Н.
+ 13.02.22 19:22
+
+
+
+ Мне нравится как оформлена эта страница! ❤
-
-
- 75
-
-
+
+
+
+ 75
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
-
-
+
+
+
+
+