Skip to content

Commit

Permalink
update eslint
Browse files Browse the repository at this point in the history
Upgraded to fix errors. See babel/babel-eslint#530
  • Loading branch information
jameshadfield committed Jul 24, 2019
1 parent a377052 commit 4a12316
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
6 changes: 6 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@ rules:
indent: ["error", 2, {"MemberExpression": "off", "SwitchCase": 1}]
react-hooks/rules-of-hooks: "error"
react-hooks/exhaustive-deps: "warn"
object-curly-newline: off
operator-linebreak: ["error", "after", { "overrides": { "?": "ignore", ":": "ignore" } }]
react/destructuring-assignment: off
prefer-destructuring: off
implicit-arrow-linebreak: off
jsx-quotes: off
parserOptions:
ecmaVersion: 6
sourceType: module
Expand Down
12 changes: 5 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,11 @@
"es6-object-assign": "^1.1.0",
"es6-promise": "~1.0.0",
"es6-promise-polyfill": "^1.2.0",
"eslint": "^5.14.1",
"eslint-config-airbnb": "^15.1.0",
"eslint-config-defaults": "^7.0.1",
"eslint-plugin-filenames": "^0.1.2",
"eslint-plugin-import": "^2.13.0",
"eslint-plugin-jsx-a11y": "^5.1.1",
"eslint-plugin-react": "^7.2.1",
"eslint": "^5.16.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-plugin-import": "^2.17.2",
"eslint-plugin-jsx-a11y": "^6.2.1",
"eslint-plugin-react": "^7.12.4",
"eslint-plugin-react-hooks": "^1.6.0",
"express": "^4.16.3",
"express-naked-redirect": "^0.1.2",
Expand Down

0 comments on commit 4a12316

Please sign in to comment.