-
Notifications
You must be signed in to change notification settings - Fork 136
Expand file tree
/
Copy path.erb_lint.yml
More file actions
33 lines (33 loc) · 817 Bytes
/
.erb_lint.yml
File metadata and controls
33 lines (33 loc) · 817 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
---
EnableDefaultLinters: true
inherit_from:
- lib/primer/view_components/linters/accessibility.yml
inherit_gem:
erblint-github:
- config/accessibility.yml
linters:
NoUnusedDisable:
enabled: true
DeprecatedComponentsCounter:
enabled: true
ButtonComponentMigrationCounter:
enabled: true
FlashMigrationCounter:
enabled: true
LabelComponentMigrationCounter:
enabled: true
Rubocop:
enabled: true
rubocop_config:
inherit_from:
- lib/rubocop/config/default.yml
AllCops:
DisabledByDefault: true
Primer/DeprecatedComponents:
Enabled: false
Exclude:
- app/components/primer/layout_component.html.erb
Migrations/IconButtonComponent:
Enabled: true
Migrations/TruncateComponent:
Enabled: true