We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
gajus
brettz9
Learn more about funding links in repositories.
Report abuse
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
Autofixing export with require-jsdoc rule:
export default (arg) => arg;
/** * @param arg */ export default (arg) => arg;
export default /** eeeeeeeeeeeeeee * @param arg * @param arg eeeeeeeeeeeeeee */ (arg) => arg;
https://github.com/k03mad/jsdoc-autofix-export-default-bug/blob/master/.eslintrc.json
{ "env": { "es6": true }, "parserOptions": { "sourceType": "module" }, "plugins": [ "jsdoc" ], "rules": { "jsdoc/require-jsdoc": [ 2, { "require": { "ArrowFunctionExpression": true, "ClassDeclaration": true, "ClassExpression": true, "FunctionDeclaration": true, "FunctionExpression": true, "MethodDefinition": true }, "publicOnly": true } ], "jsdoc/require-param-name": 2, "jsdoc/require-param-type": 2, "jsdoc/require-param": 2 } }
Repository with reproducible error: https://github.com/k03mad/jsdoc-autofix-export-default-bug
npm i npm run lint:fix
Then check file test.js
test.js
eslint-plugin-jsdoc
The text was updated successfully, but these errors were encountered:
feat: update jsdoccomment, surface export default fix; fixes gajus#810
cb5044c
Also updates devDeps
feat: update jsdoccomment, surface export default fix; fixes #810
f04a444
🎉 This issue has been resolved in version 37.2.0 🎉
The release is available on:
Your semantic-release bot 📦🚀
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Autofixing export with require-jsdoc rule:
export default (arg) => arg;
Expected behavior
Actual behavior
ESLint Config
https://github.com/k03mad/jsdoc-autofix-export-default-bug/blob/master/.eslintrc.json
ESLint sample
Repository with reproducible error: https://github.com/k03mad/jsdoc-autofix-export-default-bug
Then check file
test.js
Environment
eslint-plugin-jsdoc
version: 37.1.0The text was updated successfully, but these errors were encountered: