forked from BuildOnViction/dex-smart-contract
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
executable file
·34 lines (34 loc) · 823 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
{
"parser": "babel-eslint",
"extends": ["standard", "plugin:react/recommended"],
"plugins": ["babel", "react"],
"rules": {
"key-spacing": 0,
"jsx-quotes": [2, "prefer-single"],
"max-len": [2, 120, 2],
"object-curly-spacing": [2, "always"],
"no-extend-native": "off",
"no-unused-vars": 1,
"comma-dangle": [2,"always-multiline"],
"no-else-return": 2,
"no-nested-ternary": 2,
"semi": [2,"never"],
"no-var": 2,
"object-shorthand": [2,"always"],
"prefer-const": 2,
"prefer-spread": 2,
"no-lonely-if": 2,
"no-unneeded-ternary": 2
},
"env": {
"browser": true,
"es6": true,
"mocha": true,
"node": true
},
"solidity.linter": "solium",
"solidity.soliumRules": {
"quotes": ["error", "double"],
"indentation": ["error", 2]
}
}