Skip to content

Commit

Permalink
Fixed code positioning.
Browse files Browse the repository at this point in the history
  • Loading branch information
bre1470 committed Apr 21, 2022
1 parent 1cfb149 commit 4b951f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/RuleContext.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ export class RuleContext<T extends RuleOptions = RuleOptions> {
): void {
const report: ESLint.Rule.ReportDescriptor = {
loc: {
column,
column: column ? column - 1 : 0, // ESLint needs it zero-based
line
},
message
Expand Down

0 comments on commit 4b951f2

Please sign in to comment.