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,
|
||||
},
|
||||
rules: {
|
||||
"no-unused-vars": [
|
||||
"error",
|
||||
{
|
||||
argsIgnorePattern: "^_", // Игнорировать переменные, начинающиеся с _
|
||||
varsIgnorePattern: "^_", // Игнорировать переменные, начинающиеся с _
|
||||
ignoreRestSiblings: true, // Игнорировать неиспользуемые параметры в деструктуризации
|
||||
},
|
||||
],
|
||||
"no-unused-vars": "off",
|
||||
"@typescript-eslint/no-unused-vars": ["error", { argsIgnorePattern: "^_", varsIgnorePattern: "^_", caughtErrorsIgnorePattern: "^_" }],
|
||||
"arrow-body-style": ["error", "as-needed"],
|
||||
camelcase: "error",
|
||||
curly: ["error", "multi-line"],
|
||||
|
|
Loading…
Reference in a new issue