Skip to content

Commit

Permalink
feat: add max line length solhint rule
Browse files Browse the repository at this point in the history
  • Loading branch information
0xAustrian committed Apr 2, 2024
1 parent 9783e54 commit 5ac03c9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .solhint.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"ordering": "warn",
"immutable-name-snakecase": "warn",
"avoid-low-level-calls": "off",
"no-console": "off"
"no-console": "off",
"max-line-length": ["warn", 120]
}
}
3 changes: 2 additions & 1 deletion .solhint.tests.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"ordering": "warn",
"immutable-name-snakecase": "warn",
"avoid-low-level-calls": "off",
"one-contract-per-file": "off"
"one-contract-per-file": "off",
"max-line-length": ["warn", 120]
}
}

0 comments on commit 5ac03c9

Please sign in to comment.