-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc
More file actions
24 lines (24 loc) · 756 Bytes
/
.eslintrc
File metadata and controls
24 lines (24 loc) · 756 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
{
"env": { "es2022": true },
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"extends": ["plugin:@typescript-eslint/recommended"],
"rules": {
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-var-requires": "off",
"eqeqeq": "error",
"indent": ["warn", "tab", {
"SwitchCase": 1,
"ignoredNodes": ["ConditionalExpression > *"]
}],
"linebreak-style": ["warn", "unix"],
"no-unneeded-ternary": "error",
"no-var": "error",
"no-whitespace-before-property": "error",
"object-curly-spacing": ["warn", "always"],
"prefer-destructuring": "warn",
"quotes": ["error", "double", { "avoidEscape": true }],
"semi": ["error", "never"]
}
}