66e540edf8
* Eslint updated (newline-after-var) * Fix newline-after-var * Eslint updated (one-var-declaration-per-line) * Fix one-var-declaration-per-line * Fix additional errors * Lint after merge
34 lines
847 B
JSON
34 lines
847 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"],
|
|
"newline-after-var": ["error", "always"],
|
|
"no-alert": "error",
|
|
"no-debugger": "error",
|
|
"no-duplicate-imports": ["error", {
|
|
"includeExports": true
|
|
}],
|
|
"object-curly-spacing": ["error", "always"],
|
|
"object-property-newline": 0,
|
|
"one-var-declaration-per-line": ["error", "always"],
|
|
"padded-blocks": ["error", {
|
|
"blocks": "never",
|
|
"classes": "never",
|
|
"switches": "never"
|
|
}],
|
|
"react/jsx-closing-bracket-location": "error",
|
|
"react/jsx-curly-spacing": ["error", "always"]
|
|
}
|
|
}
|