Skip to content
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/playground/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@
'/* eslint quotes: ["error", "double"] */\nconst a = \'b\';';

const linter = new Linter({ configType: "flat" });
const legacyLinter = new Linter({ configType: "eslintrc" });
const rules = legacyLinter.getRules();

Check failure on line 30 in src/playground/App.js

View workflow job for this annotation

GitHub Actions / Lint

'legacyLinter' is not defined
const ruleNames = Array.from(rules.keys());
const rulesMeta = Array.from(rules.entries()).reduce((result, [key, value]) => {
result[key] = value.meta;
Expand Down
Loading