mirror of
https://github.com/Kong/insomnia
synced 2024-11-07 22:30:15 +00:00
35 lines
700 B
Plaintext
35 lines
700 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
|
|
},
|
|
"env": {
|
|
"jest/globals": true
|
|
},
|
|
"rules": {
|
|
"no-duplicate-imports": "off",
|
|
"react/jsx-uses-react": "error",
|
|
"react/jsx-uses-vars": "error",
|
|
"react/prop-types": "error",
|
|
"filenames/match-exported": ["error", "kebab"]
|
|
},
|
|
"settings": {
|
|
"flowtype": {
|
|
"onlyFilesWithFlowAnnotation": false
|
|
}
|
|
}
|
|
}
|