openethereum/js/.eslintrc.json
Jaco Greeff 714298aa9a Eslint rule for block curlies (#3955)
* Add curly rule

* Fix pre-existing issues with new rule
2016-12-23 16:43:13 +01:00

23 lines
498 B
JSON

{
"extends": ["semistandard", "standard-react"],
"parser": "babel-eslint",
"env": {
"browser": true,
"mocha": true,
"node": true
},
"globals": {
"expect": true,
"FileReader": true
},
"rules": {
"curly": ["error", "all"],
"jsx-quotes": ["error", "prefer-single"],
"no-alert": "error",
"no-debugger": "error",
"object-curly-spacing": ["error", "always"],
"object-property-newline": 0,
"react/jsx-curly-spacing": ["error", "always"]
}
}