-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
40 lines (40 loc) · 1.23 KB
/
.eslintrc
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
{
"env": {
"browser": true,
"es2021": true,
"node": true
},
"extends": [
"eslint:recommended",
"airbnb-typescript",
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json",
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 12,
"sourceType": "module",
"createDefaultProgram": true
},
"plugins": ["react", "@typescript-eslint"],
"rules": {
"prettier/prettier": 0,
"@typescript-eslint/no-explicit-any": ["off"],
"@typescript-eslint/triple-slash-reference": ["off"],
"@typescript-eslint/explicit-module-boundary-types": ["off"],
"@typescript-eslint/lines-between-class-members": ["off"],
"max-classes-per-file": ["error", 6],
"class-methods-use-this": "off",
"no-restricted-syntax": "off",
"no-underscore-dangle": "off",
"no-console": "off",
"react/destructuring-assignment": ["error", "always", { "ignoreClassFields": true }],
"import/prefer-default-export": ["off"],
"import/no-extraneous-dependencies": ["error", {"devDependencies": ["config-overrides.js", "**/*.test.js", "**/*.spec.js"]}]
}
}