Skip to content

Commit

Permalink
Remove eslint dups, straight eslint eject via tsdx
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy Hook committed Sep 29, 2020
1 parent 5fe08ff commit 9dd0d73
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 16 deletions.
14 changes: 4 additions & 10 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,11 @@ module.exports = {
extends: [
'react-app',
'prettier/@typescript-eslint',
'plugin:prettier/recommended',
'plugin:prettier/recommended'
],
plugins: ['react-hooks'],
rules: {
'react-hooks/rules-of-hooks': 'error',
'react-hooks/exhaustive-deps': 'error',
},
settings: {
react: {
pragma: 'React',
version: 'detect',
},
},
version: '999.999.999'
}
}
}
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
"@types/lodash": "^4.14.161",
"@types/react": "^16.9.49",
"@types/react-dom": "^16.9.8",
"eslint-plugin-react-hooks": "^4.1.2",
"husky": "^4.3.0",
"size-limit": "^4.6.0",
"tsdx": "^0.14.0",
Expand Down
5 changes: 0 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3439,11 +3439,6 @@ eslint-plugin-react-hooks@^2.2.0:
resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-2.5.1.tgz#4ef5930592588ce171abeb26f400c7fbcbc23cd0"
integrity sha512-Y2c4b55R+6ZzwtTppKwSmK/Kar8AdLiC2f9NADCuxbcTgPPg41Gyqa6b9GppgXSvCtkRw43ZE86CT5sejKC6/g==

eslint-plugin-react-hooks@^4.1.2:
version "4.1.2"
resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.1.2.tgz#2eb53731d11c95826ef7a7272303eabb5c9a271e"
integrity sha512-ykUeqkGyUGgwTtk78C0o8UG2fzwmgJ0qxBGPp2WqRKsTwcLuVf01kTDRAtOsd4u6whX2XOC8749n2vPydP82fg==

eslint-plugin-react@^7.14.3:
version "7.21.2"
resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.21.2.tgz#3bd5d2c4c36d5a0428d0d6dda301ac9a84d681b2"
Expand Down

0 comments on commit 9dd0d73

Please sign in to comment.