Skip to content

Commit

Permalink
Обновление зависимостей и настроек
Browse files Browse the repository at this point in the history
  • Loading branch information
efiand committed Feb 11, 2025
1 parent df4a5c1 commit 7e34207
Show file tree
Hide file tree
Showing 6 changed files with 852 additions and 601 deletions.
35 changes: 29 additions & 6 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,43 @@ export default [
vue: pluginVue,
},
rules: {
"arrow-body-style": "error",
"consistent-return": "error",
"curly": "error",
"default-case-last": "error",
"eqeqeq": "error",
"guard-for-in": "error",
"no-console": [strictMode ? "warn" : "off", { allow: ["error", "info"] }],
"no-debugger": strictMode ? "warn" : "off",
"vue/component-name-in-template-casing": [
"no-duplicate-imports": "error",
"no-extra-boolean-cast": "error",
"no-lone-blocks": "error",
"no-lonely-if": "error",
"no-loop-func": "error",
"no-negated-condition": "error",
"no-return-assign": "error",
"no-self-compare": "error",
"no-useless-catch": "error",
"no-useless-rename": "error",
"no-useless-return": "error",
"object-shorthand": [
"error",
"kebab-case",
{
ignores: [],
registeredComponentsOnly: false,
},
"always",
{ avoidExplicitReturnArrows: true },
],
"prefer-const": "error",
"prefer-destructuring": "error",
"prefer-rest-params": "error",
"prefer-spread": "error",
"prefer-template": "error",
"require-await": "error",
"sort-vars": "error",
"vue/component-name-in-template-casing": "error",
"vue/html-indent": ["error", 2],
"vue/html-self-closing": "off",
"vue/max-attributes-per-line": "off",
"vue/singleline-html-element-content-newline": "off",
"yoda": "error",
},
},
];
Loading

0 comments on commit 7e34207

Please sign in to comment.