Description
The max-len rule doesn't catch too-long lines in some cases. Notably, it seems to only check the first line of a statement, not any other lines of a multi-line statement.
Steps to reproduce
This section may contain all or a combination of the following:
.soliumrc.json
Expected behavior
Have tested in similar scenarios, it seems that max-len only checks the line length of the first line of the statement (The one with Require.that()
@BrendanChou thanks for reporting, I can confirm that this is an issue in the lint rule itself, so you can expect to face the same regardless of your OS. Added to v1.2.5 todo
Description The
max-len
rule doesn't catch too-long lines in some cases. Notably, it seems to only check the first line of a statement, not any other lines of a multi-line statement.Steps to reproduce This section may contain all or a combination of the following:
.soliumrc.json
Solidity:
Expected behavior Have tested in similar scenarios, it seems that max-len only checks the line length of the first line of the statement (The one with
Require.that(
)Operating System Mac OS
Linter version 1.2.4