-
Notifications
You must be signed in to change notification settings - Fork 3
/
.eslintrc.json
47 lines (47 loc) · 1.23 KB
/
.eslintrc.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
46
47
{
"extends": [
"plugin:@typescript-eslint/strict",
"plugin:prettier/recommended"
],
"plugins": ["import", "prettier"],
"parserOptions": {
"project": "./tsconfig.dev.json"
},
"ignorePatterns": ["build/", "coverage/"],
"overrides": [{
"files": ["**/*.spec.ts", "src/examples/**/*"],
"rules": {
"@typescript-eslint/no-explicit-any": 0,
"no-console": 0
}
}],
"rules": {
"class-methods-use-this": 0,
"default-case": 0,
"import/prefer-default-export": 0,
"import/no-extraneous-dependencies": 2,
"import/no-default-export": 2,
"import/order": [2, {
"groups": ["builtin", "external", "internal", "parent", "sibling", "index", "object", "type"]
}],
"import/extensions": 0,
"@typescript-eslint/no-explicit-any": 2,
"@typescript-eslint/no-namespace": 0,
"@typescript-eslint/no-invalid-void-type": 0,
"@typescript-eslint/consistent-type-imports": 2,
"no-underscore-dangle": 0,
"no-console": 2,
"no-param-reassign": 0,
"prefer-destructuring": 1,
"prettier/prettier": [
2,
{
"singleQuote": true,
"semi": true,
"bracketSpacing": true,
"printWidth": 120,
"trailingComma": "all"
}
]
}
}