forked from bitshares/bitshares-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
30 lines (30 loc) · 751 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
{
"plugins": [
"react", "json"
],
"extends": ["plugin:react/recommended"],
"parser": "@babel/eslint-parser",
"env": {
"browser": true,
"node": true,
"es6": true
},
"parserOptions": {
"ecmaFeatures": {
"blockBindings": true,
"forOf": true,
"jsx": true
}
},
"rules": {
"no-unused-vars": ["error", { "vars": "all", "args": "after-used" }],
"comma-dangle": 0,
"indent": ["error", 4, {SwitchCase: 1}],
"quotes": [2, "double", "avoid-escape"],
"semi": [2, "always"],
"camelcase": [0],
"no-console": [0],
"object-curly-spacing": [0],
"react/prop-types": [0]
}
}