It looks like for other rules the numbering is 1 based but not for this one.
Fixed AbstractSourceCode.getLineNumberForCharacterIndex() to be 1-based.
Available in CodeNarc 0.22.
Log in to post a comment.
Fixed AbstractSourceCode.getLineNumberForCharacterIndex() to be 1-based.
Available in CodeNarc 0.22.