The {“extends”: “solhint:default”} property in a configuration file enables this rule. THIS IS DEPRECATED SINCE VERSION 5.1.0
Line length should not exceed configured number of characters.
This rule accepts an array of options:
Index | Description | Default Value |
---|---|---|
0 | Rule severity. Must be one of “error”, “warn”, “off”. | error |
1 | Line length should not exceed configured number of characters. | 120 |
{
"rules": {
"max-line-length": [
"error",
120
]
}
}
This rule does not have examples.
This rule was introduced in Solhint 5.0.4