2019-05-27 11:13:11 -04:00
|
|
|
{
|
|
|
|
"extends": [
|
|
|
|
"eslint:recommended",
|
2019-05-27 13:26:29 -04:00
|
|
|
"plugin:jest/recommended",
|
2019-05-27 11:13:11 -04:00
|
|
|
"plugin:react/recommended"
|
|
|
|
],
|
|
|
|
"env": {
|
|
|
|
"browser": true,
|
|
|
|
"commonjs": true,
|
|
|
|
"node": true,
|
2019-05-27 13:26:29 -04:00
|
|
|
"es6": true,
|
|
|
|
"jest": true
|
2019-05-27 11:13:11 -04:00
|
|
|
},
|
|
|
|
"parser": "babel-eslint",
|
|
|
|
"parserOptions": {
|
|
|
|
"ecmaVersion": 6,
|
|
|
|
"sourceType": "module",
|
|
|
|
"ecmaFeatures": {
|
|
|
|
"jsx": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"rules": {
|
|
|
|
"no-console": "off",
|
|
|
|
"strict": ["error", "global"],
|
2019-05-27 11:31:48 -04:00
|
|
|
"curly": "warn",
|
2019-05-27 11:39:16 -04:00
|
|
|
"quotes": ["warn", "single"],
|
2019-05-27 11:45:24 -04:00
|
|
|
"indent": ["warn", 4],
|
2019-05-27 13:26:29 -04:00
|
|
|
"no-multi-spaces": ["warn", {"ignoreEOLComments": true} ],
|
|
|
|
"comma-spacing": ["warn"],
|
2019-05-27 13:33:36 -04:00
|
|
|
"camelcase": ["warn", {"ignoreDestructuring": true ,"properties": "never"}],
|
|
|
|
"eol-last": ["warn", "always"],
|
|
|
|
"no-multiple-empty-lines": ["warn", {"max": 1}]
|
2019-05-27 11:13:11 -04:00
|
|
|
},
|
|
|
|
"plugins": [
|
2019-05-27 13:26:29 -04:00
|
|
|
"jest",
|
2019-05-27 11:13:11 -04:00
|
|
|
"react"
|
|
|
|
],
|
|
|
|
"settings": {
|
|
|
|
"react": {
|
|
|
|
"version": "detect"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|