lbry-desktop/.eslintrc.json

47 lines
997 B
JSON
Raw Normal View History

2017-12-13 22:35:07 +01:00
{
2019-03-18 06:09:50 +01:00
"parser": "babel-eslint",
"extends": ["standard", "standard-jsx", "plugin:flowtype/recommended"],
"plugins": ["flowtype", "import"],
"settings": {
"import/resolver": {
"webpack": {
"config": "webpack.base.config.js"
}
}
},
2017-12-13 22:35:07 +01:00
"env": {
"browser": true,
"node": true
},
"globals": {
"__static": true,
2019-03-05 05:46:57 +01:00
"i18n": true,
"__": true,
"__n": true,
2019-03-18 06:06:41 +01:00
"app": true,
"IS_WEB": true
2017-12-20 16:35:13 +01:00
},
"rules": {
2019-03-18 06:09:50 +01:00
"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": [
2019-02-22 06:01:59 +01:00
"error",
2019-03-18 06:09:50 +01:00
"always",
2019-02-22 06:01:59 +01:00
{
2019-03-18 06:09:50 +01:00
"omitLastInOneLineBlock": true
2019-02-22 06:01:59 +01:00
}
2019-03-18 06:09:50 +01:00
]
2017-12-13 22:35:07 +01:00
}
}