Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support ESLint v9 (Excluding flat config support) #341

Merged
merged 17 commits into from
Jan 4, 2024

Conversation

mizdra
Copy link
Owner

@mizdra mizdra commented Jan 4, 2024

This change is a 8th step towards resolving #283.

@mizdra mizdra added the Type: Feature New Feature label Jan 4, 2024
@mizdra mizdra marked this pull request as ready for review January 4, 2024 11:01
@@ -11,6 +12,8 @@ import { translateCLIOptions } from '../config.js';
import { SerializableCore } from '../core-worker.js';
import { lint, selectAction, selectRuleIds, checkResults, NextScene } from '../scene/index.js';

const { shouldUseFlatConfig } = eslintPkg;
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is workaround for eslint/eslint#17954.

@@ -0,0 +1,89 @@
diff --git a/index.d.ts b/index.d.ts
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO: Submit PR to DefinitelyTyped

@mizdra mizdra merged commit 7784fa1 into main Jan 4, 2024
26 checks passed
@mizdra mizdra deleted the support-eslint-v9-alpha branch January 4, 2024 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature New Feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant