You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixing code style issues does not change the indentation of unaffected lines and modified or newly added lines respect the indentation style of the surrounding code.
Actual behavior
The jsdoc/require-param rule partially realigns doc comments (including the */ line, but not the /* line), resulting in misaligned code.
Expected behavior
Fixing code style issues does not change the indentation of unaffected lines and modified or newly added lines respect the indentation style of the surrounding code.
Actual behavior
The
jsdoc/require-param
rule partially realigns doc comments (including the*/
line, but not the/*
line), resulting in misaligned code.ESLint Config
ESLint sample
Input:
Result of
node_modules/.bin/eslint --fix index.js
:Environment
eslint-plugin-jsdoc
version: 29.1.2The sample code, config, and
package-lock.json
may also be found at https://github.com/lucaswerkmeister/eslint-plugin-jsdoc-require-param-issue.The text was updated successfully, but these errors were encountered: