insomnia/packages/insomnia-app/.eslintrc

60 lines
1.0 KiB
Plaintext
Raw Normal View History

{
"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"
],
"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": {
"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",
"react/jsx-uses-react": "error",
"react/jsx-uses-vars": "error",
"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
}
}
}