-
Notifications
You must be signed in to change notification settings - Fork 134
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
ESLint flat configurations? #374
Comments
Clearly documentation needs to be updated to cover for eslint v9. I do have a WIP on ansible/vscode-ansible#1223 which enables tsdoc plugin and one rule but I am wondering which is correct way to do it. My expectation was that I would not need to define the extra |
It's possible to enable like below: import tsdoceslint from "eslint-plugin-tsdoc"
// ...
plugins : {
"tsdoc": tsdoceslint
},
rules : {
"tsdoc/syntax": "warn",
},
/// ... However it's not possible to disable a single rule as e.g. Still warns for the extra rule in the VSCode ESLint extension and when running ESLint rules : {
"tsdoc/syntax": "warn",
"tsdoc/tsdoc-reference-missing-hash": [ "off" ]
}, e.g. Does not warn for the extra rule in the VSCode ESlint extension but ESLint refuses to run with the error below rules : {
"tsdoc/syntax": "warn",
"tsdoc/tsdoc-reference-missing-hash": [ "ignore" ]
},
|
What's the correct way to use this with ESLint 9? |
ESLint v9 has rolled out flat configs.
I didn't see this plugin listed in their tracker (eslint/eslint#18093) nor do I see any documentation for how to use this plugin in a flat config.
Was wondering if that was supported by this project or if there are plans to support it.
The text was updated successfully, but these errors were encountered: