Skip to content

Commit

Permalink
feat: update to eslint 8.56.0
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Dec 26, 2023
1 parent 172b007 commit 973ea59
Show file tree
Hide file tree
Showing 3 changed files with 365 additions and 226 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ For `.js`, `.cjs`, and `.mjs` files, they will be loaded by Node's native `impor

For `.ts`, `.cts`, and `.mts` files, they will be loaded using [`jiti`](https://github.com/unjs/jiti/).

Context: [Unfortunately ESLint team decided to not support the detection of `.cjs` and `.mjs` as flat config](https://github.com/eslint/eslint/issues/16580#issuecomment-1419027861).
Context:
- [~~Unfortunately ESLint team decided to not support the detection of `.cjs` and `.mjs` as flat config~~](https://github.com/eslint/eslint/issues/16580#issuecomment-1419027861).
- Update: [ESLint revised the decision to support `eslint.config.mjs` and `eslint.config.cjs` but haven't landed yet](https://github.com/eslint/eslint/issues/17863)

## Install

Expand Down
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "eslint-ts-patch",
"type": "commonjs",
"version": "8.55.0-1",
"packageManager": "[email protected].0",
"packageManager": "[email protected].1",
"description": "Support eslint.config.mjs and eslint.config.ts for ESLint",
"author": "Anthony Fu <[email protected]>",
"license": "MIT",
Expand Down Expand Up @@ -40,28 +40,28 @@
},
"dependencies": {
"debug": "^4.3.4",
"eslint": "^8.55.0",
"eslint": "^8.56.0",
"jiti": "^1.21.0"
},
"devDependencies": {
"@antfu/eslint-config": "^2.4.3",
"@antfu/eslint-config": "^2.6.0",
"@antfu/ni": "^0.21.12",
"@types/eslint": "^8.44.8",
"@types/eslint": "^8.56.0",
"@types/fs-extra": "^11.0.4",
"@types/node": "^20.10.4",
"@types/node": "^20.10.5",
"bumpp": "^9.2.1",
"eslint": "^8.55.0",
"eslint": "^8.56.0",
"eslint-ts-patch": "workspace:*",
"esno": "^4.0.0",
"execa": "^8.0.1",
"fs-extra": "^11.2.0",
"lint-staged": "^15.2.0",
"pnpm": "^8.12.0",
"pnpm": "^8.12.1",
"rimraf": "^5.0.5",
"simple-git-hooks": "^2.9.0",
"typescript": "^5.3.3",
"vite": "^5.0.7",
"vitest": "^1.0.4"
"vite": "^5.0.10",
"vitest": "^1.1.0"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged"
Expand Down
Loading

0 comments on commit 973ea59

Please sign in to comment.