Skip to content

Commit

Permalink
Finish lint and knip migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaKGoldberg committed Jan 15, 2025
1 parent ea9099e commit 0da7db6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion knip.jsonc → knip.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"$schema": "https://unpkg.com/knip@latest/schema.json",
"entry": ["src/index.ts!"],
"ignoreExportsUsedInFile": { "interface": true, "type": true },
"project": ["src/**/*.ts!"],
"project": ["src/**/*.ts!"]
}
4 changes: 3 additions & 1 deletion src/tests/rules/ruleTester.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ export type JsonRuleTesterRun = (
},
) => void;

import jsoncESLintParser from "jsonc-eslint-parser";

export const ruleTester = new RuleTester({
languageOptions: { parser: require("jsonc-eslint-parser") },
languageOptions: { parser: jsoncESLintParser },
}) as JsonRuleTester;

const originalRun = ruleTester.run;
Expand Down

0 comments on commit 0da7db6

Please sign in to comment.