Skip to content

Commit

Permalink
fix(require-jsdoc): report missing blocks to next line of function …
Browse files Browse the repository at this point in the history
…with explicit column, but only as far as needed (not as far as first line's column)
  • Loading branch information
brettz9 committed Apr 21, 2022
1 parent b65fb3b commit e53b441
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rules/requireJsdoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ export default {
} = node.loc;
const loc = {
end: {
column: start.column,
column: 0,
line: start.line + 1,
},
start: node.loc.start,
Expand Down

0 comments on commit e53b441

Please sign in to comment.