[@types/eslint] Linter.configType
should also accept eslintrc
as possible value.
#69349
Answered
by
ghost
virtuallyunknown
asked this question in
Issues with a @types package
-
Greetings! ESLint recently shipped version 9.0.0, and as described in the docs and the source code, the So with that said, I think the updated implementation should be a literal union: export class Linter {
// ...
constructor(options?: { cwd?: string | undefined; configType?: "flat" | "eslintrc" });
// ... ^^^^^^^^^^^^
} Relevant code here: Relevant issue: Also, please note that support for Cheers! |
Beta Was this translation helpful? Give feedback.
Answered by
ghost
Apr 16, 2024
Replies: 1 comment 1 reply
-
Fixed in #69368 |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
virtuallyunknown
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Fixed in #69368