-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
45 lines (45 loc) · 1001 Bytes
/
.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
{
"extends": [
"airbnb",
"prettier",
"prettier/react",
"plugin:prettier/recommended"
],
"parser": "babel-eslint",
"env": {
"browser": true,
"jest": true
},
"plugins": ["react", "prettier"],
"rules": {
"react/jsx-filename-extension": [
2,
{
"extensions": [".js", ".jsx"]
}
],
"prettier/prettier": [
"error",
{
"trailingComma": "es5",
"singleQuote": true,
"printWidth": 100
}
],
"react/forbid-prop-types": [0],
"react/require-default-props": [0],
"global-require": [0],
"no-underscore-dangle": [0],
"react/prefer-stateless-function":[0],
"no-param-reassign": "off",
"no-plusplus": "off",
"no-restricted-properties": "off",
"no-console":"off",
"new-cap":"off",
"prefer-promise-reject-errors":"off",
"react/no-multi-comp":[0],
"react/prop-types":[0],
"react/default-props-match-prop-types":[0],
"react/sort-comp":[0]
}
}