-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
41 lines (41 loc) · 911 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
{
"env": {
"browser": true,
"es6": true,
"node": true,
"jest": true
},
"extends": ["airbnb", "prettier", "plugin:node/recommended", "prettier/react"],
"plugins": ["prettier", "react"],
"rules": {
"prettier/prettier": "error",
"no-unused-vars": "warn",
"no-console": "warn",
"func-names": "off",
"no-process-exit": "off",
"object-shorthand": "warn",
"class-methods-use-this": "off",
"react/jsx-filename-extension": [
1,
{
"extensions": [".js", ".jsx"]
}
],
"react/no-this-in-sfc": 0,
"react/destructuring-assignment": 0,
"react/jsx-one-expression-per-line": 0,
"no-underscore-dangle": 0,
"import/no-extraneous-dependencies": "off",
"global-require": "off",
"no-use-before-define": "off",
"no-param-reassign": "off"
},
"parserOptions": {
"ecmaFeatures": {
"jsx": true,
"modules": true
},
"ecmaVersion": 2019,
"sourceType": "module"
}
}