forked from quizlet/argocd-diff-action
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.json
More file actions
28 lines (28 loc) · 909 Bytes
/
.eslintrc.json
File metadata and controls
28 lines (28 loc) · 909 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
// Reflect any modification in the lint-staged.config.mjs to ensure it is applied during lint-staged steps.
"ignorePatterns": ["scripts/archives"],
"env": {
"node": true
},
"rules": {
"no-console": ["warn", { "allow": ["log", "warn", "error"] }],
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-extra-semi": "off",
"@typescript-eslint/no-unused-vars": [
"warn",
{
"ignoreRestSiblings": true,
"args": "after-used",
"varsIgnorePattern": "^_",
"argsIgnorePattern": "^_",
"destructuredArrayIgnorePattern": "^_"
}
]
}
}