Skip to content

Commit

Permalink
feat(deps): update eslint rules dependencies to latest (#150)
Browse files Browse the repository at this point in the history
This PR updates all rules/plugins dependencies to latest version, as well as the eslint dependency
itself. For new rules added, I've also added them as default error in the related configuration.

BREAKING CHANGE: Dependency of eslint was a breaking change, hence this is also a breaking change
  • Loading branch information
matmalkowski authored Jul 17, 2020
1 parent 5ecc210 commit 73666c4
Show file tree
Hide file tree
Showing 3 changed files with 348 additions and 327 deletions.
3 changes: 2 additions & 1 deletion configs/@typescript-eslint/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,6 @@ module.exports = {
"@typescript-eslint/prefer-namespace-keyword": ["error"],
"@typescript-eslint/triple-slash-reference": ["error"],
"@typescript-eslint/type-annotation-spacing": ["error"],
"@typescript-eslint/no-useless-constructor": ["error"]
"@typescript-eslint/no-useless-constructor": ["error"],
"@typescript-eslint/prefer-literal-enum-member": ["error"],
};
29 changes: 15 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,28 +30,29 @@
],
"author": "Maciej Małkowski (https://github.com/matmalkowski)",
"peerDependencies": {
"@typescript-eslint/eslint-plugin": "^3.4.0",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-jest": "^23.8.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-react": "^7.19.0",
"eslint-plugin-react-hooks": "^3.0.0"
"eslint": "^7.4.0",
"@typescript-eslint/eslint-plugin": "^3.6.1",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-jest": "^23.18.0",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-react": "^7.20.3",
"eslint-plugin-react-hooks": "^4.0.8"
},
"dependencies": {
"eslint-config-airbnb": "^18.0.1"
"eslint-config-airbnb": "^18.2.0"
},
"devDependencies": {
"@commitlint/cli": "^8.3.4",
"@commitlint/config-conventional": "^8.3.4",
"@typescript-eslint/eslint-plugin": "^3.4.0",
"@typescript-eslint/eslint-plugin": "^3.6.1",
"commitizen": "^4.0.4",
"cz-conventional-changelog": "^3.0.2",
"eslint": "^6.8.0",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-jest": "^23.8.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-react": "^7.19.0",
"eslint-plugin-react-hooks": "^3.0.0",
"eslint": "^7.4.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-jest": "^23.18.0",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-react": "^7.20.3",
"eslint-plugin-react-hooks": "^4.0.8",
"husky": "^3.0.9",
"semantic-release": "^15.13.28",
"typescript": "^3.7.5"
Expand Down
Loading

0 comments on commit 73666c4

Please sign in to comment.