Skip to content

Commit

Permalink
chore: update eslint to v9
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Jul 5, 2024
1 parent cde3b3a commit 9e68077
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
3 changes: 0 additions & 3 deletions .eslintignore

This file was deleted.

4 changes: 0 additions & 4 deletions .eslintrc

This file was deleted.

9 changes: 9 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import unjs from "eslint-config-unjs";

// https://github.com/unjs/eslint-config
export default unjs({
ignores: [
"**/.docs"
],
rules: {},
});
2 changes: 1 addition & 1 deletion test/parse.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ describe("findBlocks", () => {
<!-- /automd -->
`;

// eslint-disable-next-line unicorn/consistent-function-scoping
const mkBlock = (generator: string, rawArgs: string, contents: string) => ({
generator,
rawArgs,
Expand Down

0 comments on commit 9e68077

Please sign in to comment.