diff --git a/.eslintrc.json b/.eslintrc.json index 22a808553..a21517c96 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -28,11 +28,14 @@ "rules": { "import/no-commonjs": "warn", "import/no-amd": "warn", - "prettier/prettier": ["error", { - "trailingComma": "es5", - "printWidth": 100, - "singleQuote": true - }], + "prettier/prettier": [ + "error", + { + "trailingComma": "es5", + "printWidth": 100, + "singleQuote": true + } + ], "func-names": ["warn", "as-needed"], "jsx-a11y/label-has-for": 0, "import/prefer-default-export": 0, @@ -45,6 +48,7 @@ "jsx-a11y/click-events-have-key-events": 0, "consistent-return": 0, "no-prototype-builtins": 0, - "flowtype/space-after-type-colon": [ 2, "always", { "allowLineBreak": true } ] + "flowtype/space-after-type-colon": [2, "always", { "allowLineBreak": true }], + "no-restricted-syntax": 0 } } diff --git a/package.json b/package.json index 2ca9439d9..92a4a10f6 100644 --- a/package.json +++ b/package.json @@ -46,12 +46,11 @@ "electron-log": "^2.2.12", "electron-updater": "^2.23.3", "electron-window-state": "^4.1.1", - "filewatcher-webpack-plugin": "^1.2.0", "find-process": "^1.1.0", "formik": "^0.10.4", "hast-util-sanitize": "^1.1.2", "keytar": "^4.2.1", - "lbry-redux": "lbryio/lbry-redux#820b6eeadf9e58c1e5027fd4d92808ba817b410e", + "lbry-redux": "lbryio/lbry-redux#a22f8284110f957f3f645d42abc457ab8fb3fa8a", "lbryinc": "lbryio/lbryinc#b3bb8c67745235ef54baea95accaedaa4bb86d4d", "localforage": "^1.7.1", "mammoth": "^1.4.6", @@ -115,6 +114,7 @@ "eslint-plugin-jsx-a11y": "^6.0.3", "eslint-plugin-prettier": "^2.6.0", "eslint-plugin-react": "^7.7.0", + "filewatcher-webpack-plugin": "^1.2.0", "flow-bin": "^0.89.0", "flow-typed": "^2.3.0", "husky": "^0.14.3", diff --git a/src/renderer/component/categoryList/view.jsx b/src/renderer/component/categoryList/view.jsx index 559bdcaf8..1e489e282 100644 --- a/src/renderer/component/categoryList/view.jsx +++ b/src/renderer/component/categoryList/view.jsx @@ -227,7 +227,7 @@ class CategoryList extends PureComponent {