-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
37 lines (37 loc) · 944 Bytes
/
.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
{
"env": {
"jest/globals": true
},
"extends": ["airbnb", "react-app"],
"globals": {
"page": true,
"document": true
},
"parser": "@babel/eslint-parser",
"plugins": ["jest"],
"rules": {
"import/no-extraneous-dependencies": [
"error",
{"devDependencies": true}
],
"import/prefer-default-export": "off",
"no-console": "off",
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"require-jsdoc": ["error", {
"require": {
"FunctionDeclaration": true,
"MethodDefinition": true,
"ClassDeclaration": true,
"ArrowFunctionExpression": true,
"FunctionExpression": true
}
}],
"react/prefer-stateless-function": "off",
"sort-keys": ["error", "asc", {
"caseSensitive": false,
"natural": false
}],
"jsx-a11y/click-events-have-key-events": "off",
"jsx-a11y/no-static-element-interactions": "off"
}
}