lbry-desktop/.eslintrc.json
Sean Yesmunt 2a21b6936b
Discovery fixes (#2576)
* point change email button to faq arcticle until we add that functionality

* hide claims if they are blocked

* fix: sorting on 'library' page

* add @reach/tooltip

* cleanup and add tags to publish page

* fix: button color

* fix: PublishPrice props

* fix: claim list sorting

* update lbry-redux

* respond to PR comments
2019-06-28 03:27:55 -04:00

51 lines
1.2 KiB
JSON

{
"parser": "babel-eslint",
"extends": ["standard", "standard-jsx", "plugin:react/recommended", "plugin:flowtype/recommended"],
"plugins": ["flowtype", "import", "react-hooks"],
"settings": {
"import/resolver": {
"webpack": {
"config": "webpack.base.config.js"
}
}
},
"env": {
"browser": true,
"node": true
},
"globals": {
"__static": true,
"i18n": true,
"__": true,
"__n": true,
"app": true,
"IS_WEB": true,
"WEBPACK_PORT": true
},
"rules": {
"comma-dangle": ["error", "always-multiline"],
"handle-callback-err": 0,
"indent": 0,
"jsx-quotes": ["error", "prefer-double"],
"new-cap": 0,
"no-multi-spaces": 0,
"no-redeclare": 0,
"no-return-await": 0,
"object-curly-spacing": 0,
"one-var": 0,
"prefer-promise-reject-errors": 0,
"react-hooks/exhaustive-deps": "warn",
"react-hooks/rules-of-hooks": "error",
"space-before-function-paren": ["error", "never"],
"standard/object-curly-even-spacing": 0,
"standard/no-callback-literal": 0,
"react/display-name": 0,
"semi": [
"error",
"always",
{
"omitLastInOneLineBlock": true
}
]
}
}