2017-03-03 20:09:08 +00:00
|
|
|
{
|
|
|
|
"parser": "babel-eslint",
|
2017-07-18 20:38:19 +00:00
|
|
|
"extends": [
|
|
|
|
"semistandard",
|
|
|
|
"plugin:flowtype/recommended"
|
|
|
|
],
|
2018-04-19 19:54:19 +00:00
|
|
|
"plugins": [
|
|
|
|
"react",
|
|
|
|
"jest",
|
|
|
|
"html",
|
|
|
|
"json",
|
|
|
|
"filenames",
|
|
|
|
"flowtype"
|
|
|
|
],
|
2017-03-03 20:09:08 +00:00
|
|
|
"parserOptions": {
|
|
|
|
"ecmaFeatures": {
|
|
|
|
"jsx": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"globals": {
|
|
|
|
"__DEV__": true,
|
2017-07-21 18:59:17 +00:00
|
|
|
"fail": true,
|
|
|
|
"HTMLDivElement": true,
|
2017-09-25 21:32:58 +00:00
|
|
|
"HTMLElement": true,
|
2017-10-10 14:46:32 +00:00
|
|
|
"HTMLInputElement": true,
|
|
|
|
"HTMLSelectElement": true
|
2017-03-03 20:09:08 +00:00
|
|
|
},
|
|
|
|
"env": {
|
|
|
|
"jest/globals": true
|
|
|
|
},
|
|
|
|
"rules": {
|
2018-12-12 17:36:11 +00:00
|
|
|
"comma-dangle": [
|
|
|
|
"error",
|
|
|
|
"always-multiline"
|
|
|
|
],
|
2018-04-19 19:54:19 +00:00
|
|
|
"indent": "off",
|
2017-11-06 20:44:55 +00:00
|
|
|
"no-var": "error",
|
2017-07-18 20:38:19 +00:00
|
|
|
"no-duplicate-imports": "off",
|
2017-03-03 20:09:08 +00:00
|
|
|
"react/jsx-uses-react": "error",
|
2017-03-08 05:52:17 +00:00
|
|
|
"react/jsx-uses-vars": "error",
|
2018-12-12 17:36:11 +00:00
|
|
|
"space-before-function-paren": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"anonymous": "never",
|
|
|
|
"named": "never",
|
|
|
|
"asyncArrow": "always"
|
|
|
|
}
|
|
|
|
],
|
2018-04-19 19:54:19 +00:00
|
|
|
"filenames/match-exported": [
|
|
|
|
"error",
|
|
|
|
"kebab"
|
|
|
|
]
|
2017-07-17 23:32:47 +00:00
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"flowtype": {
|
|
|
|
"onlyFilesWithFlowAnnotation": false
|
|
|
|
}
|
2017-03-03 20:09:08 +00:00
|
|
|
}
|
|
|
|
}
|