-
-
Notifications
You must be signed in to change notification settings - Fork 634
/
.eslintrc.json
45 lines (45 loc) · 1.16 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
{
"ignorePatterns": [
"browser/**",
"demo/**",
"docs/**",
"documentation/**",
"fixtures/**",
"scripts/**",
"packages/*/dist",
"packages/*/node_modules",
"packages/*/index.js",
"packages/*/index.mjs",
"packages/*/__tests__",
"packages/inferno-compat/lib",
"packages/inferno-compat/prop-types.js"
],
"env": {
"browser": true,
"es2021": true
},
"extends": [
"standard-with-typescript",
"plugin:import/typescript",
"plugin:prettier/recommended"
],
"parser": "@typescript-eslint/parser",
"overrides": [],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module",
"project": "./tsconfig.json"
},
"plugins": ["prettier"],
"rules": {
"@typescript-eslint/triple-slash-reference": "off",
"@typescript-eslint/strict-boolean-expressions": "off",
"@typescript-eslint/prefer-nullish-coalescing": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-unsafe-argument": "off",
"@typescript-eslint/non-nullable-type-assertion-style": "off",
"@typescript-eslint/ban-types": "off",
"no-void": "off",
"no-labels": "off"
}
}