forked from DXgovernance/dxdao-contracts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
29 lines (29 loc) · 839 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
{
"extends": "eslint:recommended",
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"rules": {
"semi": 2,
"no-undef": "off",
"eol-last": 2,
"eqeqeq": "error",
"indent": ["error", 2],
"block-spacing": ["error", "always"],
"comma-spacing": "error",
"brace-style": "error",
"function-paren-newline": ["error", "consistent"],
"space-before-function-paren": ["error", "never"],
"array-bracket-spacing": ["error", "always"],
"computed-property-spacing": ["error", "always"],
"max-len": ["error", 120],
"key-spacing": "error",
"quotes": "error",
"space-infix-ops": "error"
}
}