714298aa9a
* Add curly rule * Fix pre-existing issues with new rule
23 lines
498 B
JSON
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"]
|
|
}
|
|
}
|