summaryrefslogtreecommitdiff
path: root/.erb-lint.yml
blob: 20c900819df899cc2d95818e0d213a4f648f0c89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
---
EnableDefaultLinters: true
linters:
  Rubocop:
    enabled: true
    rubocop_config:
      inherit_from:
        - .rubocop.yml
      Layout/InitialIndentation:
        Enabled: false
      Layout/TrailingEmptyLines:
        Enabled: false
      Layout/TrailingWhitespace:
        Enabled: false
      Layout/LeadingEmptyLines:
        Enabled: false
      # False flags for view files.
      # ViewComponents should never see this, though, as they should never need to assign in a view.
      Lint/UselessAssignment:
        Exclude:
          - "app/jobs/**/*"
          - "app/views/**/*"