-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
75 lines (75 loc) · 2.01 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
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
{
"extends": ["airbnb", "prettier"],
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 6,
"ecmaFeatures": {
"jsx": true
}
},
"env": {
"browser": true,
"node": true,
"mocha": true,
"es6": true,
"jest": true
},
"rules": {
"requireForBlockBody": "off",
"space-before-function-paren": "off",
"react/no-unescaped-entities": "off",
"@next/next/no-page-custom-font": "off",
"react/prefer-stateless-function": "warn",
"import/prefer-default-export": "off",
"no-param-reassign": ["error", { "props": false }],
"react/jsx-filename-extension": [
1,
{
"extensions": [".ts", ".tsx"]
}
],
"linebreak-style": "off",
"global-require": "off",
"semi": "off",
"arrow-body-style": "off",
"prettier/prettier": "off",
"react/jsx-uses-react": "off",
"react/react-in-jsx-scope": "off",
"react/jsx-one-expression-per-line": "off",
"react/jsx-curly-newline": "off",
"react/static-property-placement": "off",
"import/no-cycle": "off",
"no-underscore-dangle": "off",
"jsx-a11y/click-events-have-key-events": "off",
"react/jsx-props-no-spreading": "off",
"react/jsx-wrap-multilines": "off",
"jsx-a11y/anchor-is-valid": "off",
"jsx-a11y/no-static-element-interactions": "off",
"no-async-promise-executor": "off",
"max-classes-per-file": "off",
"jsx-a11y/no-noninteractive-element-interactions": "off",
"jsx-a11y/control-has-associated-label": "off",
"jsx-a11y/label-has-associated-control": "off",
"jsx-a11y/mouse-events-have-key-events": "off",
"react/prop-types": "off",
"no-console": "off",
"lines-between-class-members": "off",
"import/extensions": [
"error",
"ignorePackages",
{
"ts": "never",
"tsx": "never"
}
]
},
"plugins": ["prettier", "jest"],
"settings": {
"import/resolver": {
"node": {
"paths": ["src"],
"extensions": [".js", ".jsx", ".ts", ".tsx"]
}
}
}
}