mirror of
https://github.com/JonnyBro/JaBa.git
synced 2025-01-19 17:03:47 +05:00
ci: changed eslint config
This commit is contained in:
parent
4c8c068245
commit
2eab0d541e
1 changed files with 2 additions and 8 deletions
|
@ -21,14 +21,8 @@ export default [
|
||||||
"@stylistic/js": stylisticJs,
|
"@stylistic/js": stylisticJs,
|
||||||
},
|
},
|
||||||
rules: {
|
rules: {
|
||||||
"no-unused-vars": [
|
"no-unused-vars": "off",
|
||||||
"error",
|
"@typescript-eslint/no-unused-vars": ["error", { argsIgnorePattern: "^_", varsIgnorePattern: "^_", caughtErrorsIgnorePattern: "^_" }],
|
||||||
{
|
|
||||||
argsIgnorePattern: "^_", // Игнорировать переменные, начинающиеся с _
|
|
||||||
varsIgnorePattern: "^_", // Игнорировать переменные, начинающиеся с _
|
|
||||||
ignoreRestSiblings: true, // Игнорировать неиспользуемые параметры в деструктуризации
|
|
||||||
},
|
|
||||||
],
|
|
||||||
"arrow-body-style": ["error", "as-needed"],
|
"arrow-body-style": ["error", "as-needed"],
|
||||||
camelcase: "error",
|
camelcase: "error",
|
||||||
curly: ["error", "multi-line"],
|
curly: ["error", "multi-line"],
|
||||||
|
|
Loading…
Reference in a new issue