colouring-montreal/app/.eslintrc
2019-05-27 18:35:12 +01:00

45 lines
935 B
Plaintext

{
"extends": [
"eslint:recommended",
"plugin:jest/recommended",
"plugin:react/recommended"
],
"env": {
"browser": true,
"commonjs": true,
"node": true,
"es6": true,
"jest": true
},
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"rules": {
"no-console": "off",
"strict": ["error", "global"],
"curly": "warn",
"quotes": ["warn", "single"],
"indent": ["warn", 4],
"no-multi-spaces": ["warn", {"ignoreEOLComments": true} ],
"comma-spacing": ["warn"],
"camelcase": ["warn", {"ignoreDestructuring": true ,"properties": "never"}],
"eol-last": ["warn", "always"],
"no-multiple-empty-lines": ["warn", {"max": 1}],
"prefer-const": "warn"
},
"plugins": [
"jest",
"react"
],
"settings": {
"react": {
"version": "detect"
}
}
}