ERB Lint linter for checking the length of lines. Inspired by the RuboCop Layout/LineLength cop.
Add it to your repository as a submodule:
git submodule add https://github.com/yenshirak/erb-lint-line-length-linter.git .erb-linters
Configure it in .erb-lint.yml
:
linters:
LineLength:
enabled: true
max: 80 # The default is 120.