-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy path.eslintrc.root.json
45 lines (45 loc) · 1.33 KB
/
.eslintrc.root.json
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{
"env": {
"es2021": true
},
"extends": [
"airbnb-base/legacy",
"plugin:@typescript-eslint/recommended",
"plugin:n/recommended",
"plugin:prettier/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {},
"ecmaVersion": 12,
"sourceType": "module",
"project": ["./tsconfig.json", "./cypress/tsconfig.json"]
},
"plugins": ["@typescript-eslint", "prettier"],
"rules": {
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/naming-convention": "off",
"@typescript-eslint/no-var-requires": "off",
"no-await-in-loop": "off",
"no-else-return": "error",
"no-empty": "off",
"no-loop-func": "off",
"no-plusplus": "off",
"no-continue": "off",
"no-console": "off",
"no-restricted-syntax": "off",
"no-underscore-dangle": "off",
"no-unneeded-ternary": "error",
"no-warning-comments": "off",
"n/no-unpublished-import": "off",
"n/no-missing-import": "off",
"n/no-extraneous-import": "off",
"n/no-process-exit": "off",
"n/no-unsupported-features/node-builtins": "off",
"prefer-destructuring": "off",
"sort-imports": "off",
"spaced-comment": ["error", "always", { "markers": ["/"] }]
}
}