-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
36 lines (35 loc) · 1008 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
{
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"extends": ["airbnb", "plugin:jest/recommended" ],
"plugins": ["react", "jsx-a11y", "import", "jest" ],
"rules": {
"strict":0,
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"react/forbid-prop-types":0,
"jest/no-disabled-tests": "warn",
"jest/no-focused-tests": "error",
"jest/no-identical-title": "error",
"jest/prefer-to-have-length": "warn",
"jest/valid-expect": "error",
"import/no-extraneous-dependencies": ["error",
{"devDependencies": [
"**/*.test.js",
"**/setupTests.js"
]}],
"react/jsx-one-expression-per-line":0,
"implicit-arrow-linebreak":0
},
"env": {
"browser": true,
"node": true,
"jest": true,
"jest/globals": true
}
}