2019-05-27 11:13:11 -04:00
|
|
|
{
|
2020-04-09 09:32:58 -04:00
|
|
|
"root": true,
|
|
|
|
"parser": "@typescript-eslint/parser",
|
|
|
|
"plugins": [
|
|
|
|
"@typescript-eslint",
|
|
|
|
"jest",
|
|
|
|
"react"
|
|
|
|
],
|
2019-05-27 11:13:11 -04:00
|
|
|
"extends": [
|
2020-04-09 09:32:58 -04:00
|
|
|
"eslint:recommended",
|
|
|
|
"plugin:@typescript-eslint/eslint-recommended",
|
|
|
|
"plugin:@typescript-eslint/recommended",
|
2019-05-27 11:13:11 -04:00
|
|
|
"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
|
|
|
},
|
|
|
|
"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"],
|
2019-05-27 13:35:12 -04:00
|
|
|
"no-multiple-empty-lines": ["warn", {"max": 1}],
|
|
|
|
"prefer-const": "warn"
|
2019-05-27 11:13:11 -04:00
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"react": {
|
|
|
|
"version": "detect"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|