lbry-desktop/.eslintrc.json
2019-03-18 01:10:41 -04:00

45 lines
977 B
JSON

{
"parser": "babel-eslint",
"extends": ["standard", "standard-jsx", "plugin:flowtype/recommended"],
"plugins": ["flowtype", "import"],
"settings": {
"import/resolver": {
"webpack": {
"config": "webpack.base.config.js"
}
}
},
"env": {
"browser": true,
"node": true
},
"globals": {
"__static": true,
"i18n": true,
"__": true,
"__n": true,
"app": 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"],
"semi": [
"error",
"always",
{
"omitLastInOneLineBlock": true
}
]
}
}