2017-03-03 20:09:08 +00:00
|
|
|
{
|
|
|
|
"parser": "babel-eslint",
|
2017-07-18 20:38:19 +00:00
|
|
|
"extends": [
|
|
|
|
"semistandard",
|
|
|
|
"plugin:flowtype/recommended"
|
|
|
|
],
|
|
|
|
"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": {
|
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",
|
|
|
|
"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
|
|
|
}
|
|
|
|
}
|