Skip to content

Commit

Permalink
feat(eslint)!: update dependencies and add new rules (#72)
Browse files Browse the repository at this point in the history
Update general and ESLint dependencies.

## BREAKING CHANGE

The new rules from `eslint-plugin-unicorn`, especially [`switch-case-braces`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/switch-case-braces.md) will be used.
  • Loading branch information
mheob committed Oct 6, 2022
1 parent b79f37d commit 6c13a4f
Show file tree
Hide file tree
Showing 4 changed files with 224 additions and 194 deletions.
5 changes: 5 additions & 0 deletions .changeset/swift-dodos-try.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@mheob/eslint-config': major
---

Update dependencies and use the new rules from `eslint-plugin-unicorn`, especially [switch-case-braces](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/switch-case-braces.md)
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,23 +29,23 @@
"package.json": "pnpm dlx sort-package-json"
},
"devDependencies": {
"@changesets/changelog-github": "^0.4.6",
"@changesets/cli": "^2.24.4",
"@changesets/changelog-github": "^0.4.7",
"@changesets/cli": "^2.25.0",
"@commitlint/cli": "^17.1.2",
"@commitlint/config-conventional": "^17.1.0",
"@mheob/check-package-manager": "workspace:*",
"@mheob/eslint-config": "workspace:*",
"@mheob/prettier-config": "workspace:*",
"@types/node": "^18.7.23",
"@types/node": "^18.8.2",
"eslint": "^8.24.0",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"prettier": "^2.7.1",
"ts-node": "^10.9.1",
"turbo": "^1.5.3",
"typescript": "^4.8.3"
"turbo": "^1.5.5",
"typescript": "^4.8.4"
},
"packageManager": "pnpm@7.12.2",
"packageManager": "pnpm@7.13.2",
"engines": {
"node": ">=16.0.0",
"npm": ">=8.0.0"
Expand Down
8 changes: 4 additions & 4 deletions packages/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,20 +49,20 @@
"sort-package-json": "pnpm dlx sort-package-json"
},
"dependencies": {
"@typescript-eslint/eslint-plugin": "^5.38.0",
"@typescript-eslint/parser": "^5.38.0",
"@typescript-eslint/eslint-plugin": "^5.39.0",
"@typescript-eslint/parser": "^5.39.0",
"eslint-config-next": "^12.3.1",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.31.8",
"eslint-plugin-unicorn": "^43.0.2"
"eslint-plugin-unicorn": "^44.0.1"
},
"devDependencies": {
"@mheob/tsconfig": "workspace:*",
"@types/eslint": "^8.4.6",
"eslint": "^8.24.0",
"prettier": "^2.7.1",
"typescript": "^4.8.3"
"typescript": "^4.8.4"
},
"peerDependencies": {
"eslint": "^8.23.1",
Expand Down
Loading

0 comments on commit 6c13a4f

Please sign in to comment.