Skip to content

Commit

Permalink
исправлены недочеты
Browse files Browse the repository at this point in the history
  • Loading branch information
Aptyaa committed Jan 7, 2024
1 parent 44c2547 commit 6cd0443
Show file tree
Hide file tree
Showing 27 changed files with 874 additions and 224 deletions.
Empty file removed .editorconfig
Empty file.
13 changes: 6 additions & 7 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
{
"env": {
"browser": true,
"es2021": true
"es2020": true
},

"extends": ["eslint:recommended", "prettier"],
"extends": ["eslint:recommended"],
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],

"parserOptions": {
"sourceType": "module"
},
// Здесь мы подключаем используемые плагины.
"plugins": ["prettier"],
/* Правила для отслеживания линтером. Если пресеты покрывают не все ситуации,
вы можете прописать нужные правила вручную. */

"rules": {
"prettier/prettier": "error"
"no-unused-vars": "off"
}
}
2 changes: 1 addition & 1 deletion .prettierrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"singleQuote": true,
"arrowParens": "always",
"arrowParens": "avoid",
"max-len": ["error", 140, 2],
"tabWidth": 2,
"useTabs": false,
Expand Down
2 changes: 1 addition & 1 deletion .stylelintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
"rules": {
"selector-class-pattern": null
},
"ignoreFiles": ["dist/*"]
"ignoreFiles": ["/dist/*"]
}
Loading

0 comments on commit 6cd0443

Please sign in to comment.