forked from uber/react-vis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
44 lines (44 loc) · 821 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
38
39
40
41
42
43
44
{
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:react-hooks/recommended",
"plugin:jest/recommended",
"prettier",
"prettier/react"
],
"parser": "babel-eslint",
"plugins": [
"react",
"react-hooks",
"prettier",
"babel",
"jest"
],
"ignorePatterns": [
"node_modules",
"bundle.js",
"**/dist/",
"**/es/"
],
"settings":{
"react":{
"version": "detect"
}
},
"env": {
"es6": true,
"browser": true,
"jest": true
},
"rules": {
"consistent-return": 0,
"max-len": [1, 110, 4],
"max-params": ["error", 6],
"object-curly-spacing": 0,
"babel/object-curly-spacing": 2,
"jest/require-top-level-describe":"error",
"react/prop-types": "off",
"prettier/prettier": "warn"
}
}