Line length must be no more than maxlen.
This rule accepts an array of options:
| Index | Description | Default Value |
|---|---|---|
| 0 | Rule severity. Must be one of “error”, “warn”, “off”. | error |
| 1 | Maximum allowed number of characters per line | 120 |
{
"rules": {
"max-line-length": ["error",120]
}
}
This rule does not have examples.
This rule was introduced in Solhint 1.1.5