Skip to content

Commit 9e68077

Browse files
committed
chore: update eslint to v9
1 parent cde3b3a commit 9e68077

File tree

4 files changed

+10
-8
lines changed

4 files changed

+10
-8
lines changed

β€Ž.eslintignoreβ€Ž

Lines changed: 0 additions & 3 deletions
This file was deleted.

β€Ž.eslintrcβ€Ž

Lines changed: 0 additions & 4 deletions
This file was deleted.

β€Žeslint.config.mjsβ€Ž

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import unjs from "eslint-config-unjs";
2+
3+
// https://github.com/unjs/eslint-config
4+
export default unjs({
5+
ignores: [
6+
"**/.docs"
7+
],
8+
rules: {},
9+
});

β€Žtest/parse.test.tsβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ describe("findBlocks", () => {
3434
<!-- /automd -->
3535
`;
3636

37-
// eslint-disable-next-line unicorn/consistent-function-scoping
37+
3838
const mkBlock = (generator: string, rawArgs: string, contents: string) => ({
3939
generator,
4040
rawArgs,

0 commit comments

Comments
Β (0)