-
Notifications
You must be signed in to change notification settings - Fork 3
/
.eslintrc
76 lines (76 loc) · 2.07 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2018,
"jsx": true,
"sourceType": "module",
"useJSXTextNode": true
},
"extends": [
"eslint-config-airbnb-base",
"eslint-config-airbnb-base/rules/strict",
"eslint-config-airbnb/rules/react",
"plugin:@typescript-eslint/recommended",
"prettier/@typescript-eslint",
"plugin:prettier/recommended"
],
"env": {
"browser": true,
"es6": true,
"jest/globals": true
},
"plugins": ["jest", "@typescript-eslint", "class-property", "simple-import-sort"],
"rules": {
"react/jsx-filename-extension": "off",
"max-len": "off",
"semi": "error",
"comma-dangle": 0,
"import/prefer-default-export": "off",
"no-console": "off",
"react/jsx-wrap-multilines": "off",
"react/prefer-stateless-function": "off",
"camelcase": "off",
"dot-notation": "off",
"arrow-parens": "off",
"import/no-extraneous-dependencies": "off",
"react/jsx-no-bind": "off",
"consistent-return": "off",
"react/sort-comp": "off",
"jsx-a11y/accessible-emoji": "off",
"no-plusplus": "off",
"no-case-declarations": "off",
"no-continue": "off",
"new-cap": "off",
"import/no-named-as-default": "off",
"react/require-default-props": "off",
"no-new": "off",
"indnet": "off",
"simple-import-sort/sort": "warn",
"no-underscore-dangle": "off",
"no-template-curly-in-string": "off",
"prefer-destructuring": "off",
"react/destructuring-assignment": "off",
"react/prop-types": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-empty-interface": "off",
"@typescript-eslint/member-delimiter-style": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/camelcase": "off"
},
"overrides": [
{
"files": ["**/*.test.ts"],
"env": {
"jest": true
}
}
],
"settings": {
"import/resolver": {
"node": {
"paths": ["src/**"],
"extensions": [".js", ".jsx", ".ts", ".tsx"]
}
}
}
}