Skip to content

Commit

Permalink
Upgrade dependencies, pull in new rules
Browse files Browse the repository at this point in the history
  • Loading branch information
wh1t3cAt1k committed Jun 29, 2021
1 parent 01e3f74 commit b10fbef
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
6 changes: 6 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ module.exports = {
extensions: ['.ts', '.tsx', '.js', '.jsx'],
},
],
'@typescript-eslint/consistent-type-imports': 'error',
"no-loss-of-precision": "off",
"@typescript-eslint/no-loss-of-precision": ["error"],
'@typescript-eslint/no-unnecessary-type-constraint': 'error',
'@typescript-eslint/no-confusing-void-expression': 'error',
'@typescript-eslint/no-unsafe-argument': 'error',
'@typescript-eslint/adjacent-overload-signatures': 'error',
'@typescript-eslint/array-type': 'error',
'@typescript-eslint/promise-function-async': 'error',
Expand Down
13 changes: 7 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,17 @@
},
"homepage": "https://github.com/wh1t3cAt1k/eslint-config-clean-code#readme",
"devDependencies": {
"prettier": "^1.17.1"
"prettier": "2.3.2"
},
"peerDependencies": {
"typescript": "^3.8.2",
"typescript": "4.3.4",
"eslint": "*"
},
"dependencies": {
"@typescript-eslint/eslint-plugin": "^2.30.0",
"@typescript-eslint/parser": "^2.30.0",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-react": "^7.19.0"
"@typescript-eslint/eslint-plugin": "4.28.1",
"@typescript-eslint/parser": "4.28.1",
"eslint-plugin-import": "2.23.4",
"eslint-plugin-react": "7.24.0",
"eslint-plugin-react-hooks": "4.2.0"
}
}

0 comments on commit b10fbef

Please sign in to comment.