Skip to content

Commit

Permalink
eslint upgrades (#177)
Browse files Browse the repository at this point in the history
* Upgrade eslint to latest in 8.x series

* Upgrade eslint plugins

* Fix create-app

* Add changeset
  • Loading branch information
ericanderson authored Apr 24, 2024
1 parent 7585d64 commit 37c5e2d
Show file tree
Hide file tree
Showing 11 changed files with 303 additions and 313 deletions.
5 changes: 5 additions & 0 deletions .changeset/large-hats-sleep.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@osdk/create-app": patch
---

Update eslint to v8.57
4 changes: 2 additions & 2 deletions examples-extra/docs_example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@
"@typescript-eslint/parser": "^6.10.0",
"@vitejs/plugin-react": "^4.2.1",
"autoprefixer": "^10.4.16",
"eslint": "^8.53.0",
"eslint": "^8.57.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.4",
"eslint-plugin-react-refresh": "^0.4.6",
"postcss": "^8.4.31",
"rollup-plugin-visualizer": "^5.9.2",
"tailwindcss": "^3.3.5",
Expand Down
4 changes: 2 additions & 2 deletions examples-extra/todoapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@
"@typescript-eslint/parser": "^6.10.0",
"@vitejs/plugin-react": "^4.2.1",
"autoprefixer": "^10.4.16",
"eslint": "^8.53.0",
"eslint": "^8.57.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.4",
"eslint-plugin-react-refresh": "^0.4.6",
"postcss": "^8.4.31",
"rollup-plugin-visualizer": "^5.9.2",
"tailwindcss": "^3.3.5",
Expand Down
2 changes: 1 addition & 1 deletion examples/example-next-static-export/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"eslint": "^8",
"eslint": "^8.57.0",
"eslint-config-next": "14.0.4",
"typescript": "^5"
}
Expand Down
4 changes: 2 additions & 2 deletions examples/example-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
"@typescript-eslint/eslint-plugin": "^6.10.0",
"@typescript-eslint/parser": "^6.10.0",
"@vitejs/plugin-react": "^4.2.0",
"eslint": "^8.53.0",
"eslint": "^8.57.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.4",
"eslint-plugin-react-refresh": "^0.4.6",
"typescript": "^5.2.2",
"vite": "^5.0.13"
},
Expand Down
6 changes: 3 additions & 3 deletions monorepo/eslint-config-sane/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
"dependencies": {
"@typescript-eslint/eslint-plugin": "^6.13.0",
"@typescript-eslint/parser": "^6.13.0",
"eslint": "^8.49.0",
"eslint-config-turbo": "^1.10.13",
"eslint": "^8.57.0",
"eslint-config-turbo": "^1.13.2",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-header": "^3.1.1",
"eslint-plugin-import": "^2.28.1"
"eslint-plugin-import": "^2.29.1"
}
}
6 changes: 3 additions & 3 deletions monorepo/mytsup/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
"dependencies": {
"@typescript-eslint/eslint-plugin": "^6.13.0",
"@typescript-eslint/parser": "^6.13.0",
"eslint": "^8.49.0",
"eslint-config-turbo": "^1.10.13",
"eslint": "^8.57.0",
"eslint-config-turbo": "^1.13.2",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-import": "^2.29.1",
"find-up": "^7.0.0"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"babel-plugin-dev-expression": "^0.2.3",
"dprint": "^0.41.0",
"esbuild-plugin-babel": "^0.2.3",
"eslint": "^8.54.0",
"eslint": "^8.57.0",
"eslint-config-sane": "workspace:^",
"find-up-cli": "^5.0.0",
"husky": "^9.0.11",
Expand All @@ -46,7 +46,7 @@
"vitest": "^1.4.0"
},
"dependencies": {
"eslint-plugin-unused-imports": "^3.0.0"
"eslint-plugin-unused-imports": "^3.1.0"
},
"pnpm": {
"patchedDependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
"next": "14.0.4"
},
"devDependencies": {
"typescript": "^5",
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"eslint": "^8",
"eslint-config-next": "14.0.4"
"eslint": "^8.57.0",
"eslint-config-next": "14.0.4",
"typescript": "^5"
}
}
4 changes: 2 additions & 2 deletions packages/create-app/templates/template-react/package.json.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
"@typescript-eslint/eslint-plugin": "^6.10.0",
"@typescript-eslint/parser": "^6.10.0",
"@vitejs/plugin-react": "^4.2.0",
"eslint": "^8.53.0",
"eslint": "^8.57.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.4",
"eslint-plugin-react-refresh": "^0.4.6",
"typescript": "^5.2.2",
"vite": "^5.0.13"
}
Expand Down
Loading

0 comments on commit 37c5e2d

Please sign in to comment.