Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 526 Bytes

README.md

File metadata and controls

20 lines (14 loc) · 526 Bytes

LineLength linter for ERB Lint

ERB Lint linter for checking the length of lines. Inspired by the RuboCop Layout/LineLength cop.

Getting Started

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.