insomnia/.eslintrc

36 lines
728 B
Plaintext
Raw Normal View History

{
"parser": "babel-eslint",
2017-07-18 20:38:19 +00:00
"extends": [
"semistandard",
"plugin:flowtype/recommended"
],
"plugins": ["react", "jest", "html", "json", "filenames", "flowtype"],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
}
},
"globals": {
"__DEV__": true,
2017-07-21 18:59:17 +00:00
"fail": true,
"HTMLDivElement": true,
"HTMLElement": true,
"HTMLInputElement": true,
"HTMLSelectElement": true
},
"env": {
"jest/globals": true
},
"rules": {
2017-07-18 20:38:19 +00:00
"no-duplicate-imports": "off",
"react/jsx-uses-react": "error",
"react/jsx-uses-vars": "error",
"filenames/match-exported": ["error", "kebab"]
2017-07-17 23:32:47 +00:00
},
"settings": {
"flowtype": {
"onlyFilesWithFlowAnnotation": false
}
}
}