The rubocop linter cannot use the `rubocop_config` option because it's not compatible with Ruby 2.3. So we're setting the rubocop rules manually.
15 lines
258 B
YAML
15 lines
258 B
YAML
---
|
|
linters:
|
|
FinalNewline:
|
|
enabled: true
|
|
SpaceAroundErbTag:
|
|
enabled: true
|
|
SelfClosingTag:
|
|
enabled: false
|
|
Rubocop:
|
|
enabled: true
|
|
only:
|
|
- Layout/EndOfLine
|
|
- Lint/LiteralAsCondition
|
|
- Style/PercentLiteralDelimiters
|