-
-
Notifications
You must be signed in to change notification settings - Fork 160
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
Disable code activation on save only for plugin jsdoc in VsCode #941
Comments
ESLint is a specific extension for VSCode. I believe you would need to contact VSC or possibly the ESLint extension creators to support disabling fixes in that way. Some of our rules do, however, have options which let you disable fixers. Which fixing behavior do you wish to disable? |
I want to be able to write a function without JSDOC, like a generic function for a class... And I have two others questions. I got an error
And I got
It seem's that |
You can, in your ESLint config, set: 'jsdoc/require-jsdoc': ['error', {enableFixer: false}] That will prevent injection of: /**
*
*/
settings: {
jsdoc: {
mode: 'typescript',
},
}, or you need to have: parser: '@typescript-eslint/parser' and install Intersections (
Closing as that should resolve, but feel free to comment further as needed. |
Thank you ! |
Hello,
I'd like to disable the auto fix on save only for
eslint-plugin-jsdoc
in my VS Code Workspace. And I want to keep the auto fix foreslint
.My VS Code Workspace :
And the content of my ".eslintrc.json" :
The text was updated successfully, but these errors were encountered: