colouring-montreal/app/.eslintrc
2019-05-27 18:33:36 +01:00

44 lines
907 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}]
},
"plugins": [
"jest",
"react"
],
"settings": {
"react": {
"version": "detect"
}
}
}