Skip to content

Commit

Permalink
chore: require eslint >= 8.57.1
Browse files Browse the repository at this point in the history
  • Loading branch information
zanminkian committed Nov 19, 2024
1 parent 1c3fa77 commit a2d5f7c
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .changeset/red-carrots-carry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@git-validator/eslint-config": minor
"@fenge/eslint-config": minor
---

chore: require eslint >= 8.57.1
3 changes: 3 additions & 0 deletions packages/deprecated-eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,8 @@
},
"dependencies": {
"@fenge/eslint-config": "workspace:*"
},
"peerDependencies": {
"eslint": ">=8.57.1"
}
}
3 changes: 3 additions & 0 deletions packages/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,8 @@
"eslint": "8.57.1",
"eslint-config-prettier": "9.1.0",
"prettier": "3.3.3"
},
"peerDependencies": {
"eslint": ">=8.57.1"
}
}
3 changes: 1 addition & 2 deletions packages/eslint-config/src/config/gitignore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ export function gitignore() {
// https://eslint.org/docs/latest/use/configure/configuration-files#specifying-files-and-ignores
return [
{
// TODO waiting for eslint 9
// name: 'fenge/ignore',
name: "fenge/gitignore",
ignores: stdout.split("\n").filter(Boolean),
},
] as const;
Expand Down
1 change: 1 addition & 0 deletions packages/eslint-config/src/eslint.config.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ await describe("eslint.config", async () => {
});

await it("should not contain deprecated rules", async () => {
// https://eslint.org/blog/2023/10/deprecating-formatting-rules/#the-deprecated-rules
const deprecatedRules = [
"array-bracket-newline",
"array-bracket-spacing",
Expand Down

0 comments on commit a2d5f7c

Please sign in to comment.