-
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy path.eslintrc
More file actions
46 lines (46 loc) · 1.43 KB
/
Copy path.eslintrc
File metadata and controls
46 lines (46 loc) · 1.43 KB
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
46
{
"root": true,
"overrides": [{
"files": ["*.ts", "*.tsx"],
"parserOptions": {
"project": ["./tsconfig.json"]
}
}],
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"rules": {
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-namespace": "off",
"@typescript-eslint/prefer-readonly": "error",
"@typescript-eslint/type-annotation-spacing": "error",
"comma-spacing": "off",
"@typescript-eslint/comma-spacing": ["error"],
"comma-dangle": "off",
"@typescript-eslint/comma-dangle": ["error"],
"dot-notation": "off",
"@typescript-eslint/dot-notation": ["error"],
"func-call-spacing": "off",
"@typescript-eslint/func-call-spacing": ["error"],
"@typescript-eslint/quotes": "off",
"indent": "off",
"no-empty-function": "off",
"@typescript-eslint/no-empty-function": ["error"],
"no-extra-semi": "off",
"@typescript-eslint/no-extra-semi": ["error"],
"no-unused-expressions": "off",
"@typescript-eslint/no-unused-expressions": ["error"],
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": ["error"],
"object-curly-spacing": "off",
"@typescript-eslint/object-curly-spacing": ["error", "always"],
"quotes": "off"
}
}