insomnia/.eslintrc
2017-11-06 21:44:55 +01:00

37 lines
751 B
Plaintext

{
"parser": "babel-eslint",
"extends": [
"semistandard",
"plugin:flowtype/recommended"
],
"plugins": ["react", "jest", "html", "json", "filenames", "flowtype"],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
}
},
"globals": {
"__DEV__": true,
"fail": true,
"HTMLDivElement": true,
"HTMLElement": true,
"HTMLInputElement": true,
"HTMLSelectElement": true
},
"env": {
"jest/globals": true
},
"rules": {
"no-var": "error",
"no-duplicate-imports": "off",
"react/jsx-uses-react": "error",
"react/jsx-uses-vars": "error",
"filenames/match-exported": ["error", "kebab"]
},
"settings": {
"flowtype": {
"onlyFilesWithFlowAnnotation": false
}
}
}