36 lines
858 B
JSON
36 lines
858 B
JSON
{
|
|
"parser": "babel-eslint",
|
|
"extends": ["standard", "standard-jsx", "plugin:flowtype/recommended"],
|
|
"plugins": ["flowtype", "import"],
|
|
"env": {
|
|
"browser": true,
|
|
"node": true
|
|
},
|
|
"globals": {
|
|
"__": true
|
|
},
|
|
"rules": {
|
|
"no-multi-spaces": 0,
|
|
"new-cap": 0,
|
|
"prefer-promise-reject-errors": 0,
|
|
"no-unused-vars": 0,
|
|
"standard/object-curly-even-spacing": 0,
|
|
"handle-callback-err": 0,
|
|
"one-var": 0,
|
|
"object-curly-spacing": 0,
|
|
"no-redeclare": 0,
|
|
"no-return-await": 0,
|
|
"standard/no-callback-literal": 0,
|
|
"comma-dangle": ["error", "always-multiline"],
|
|
"space-before-function-paren": ["error", "never"],
|
|
"jsx-quotes": ["error", "prefer-double"],
|
|
"no-use-before-define": 0,
|
|
"semi": [
|
|
"error",
|
|
"always",
|
|
{
|
|
"omitLastInOneLineBlock": true
|
|
}
|
|
]
|
|
}
|
|
}
|