forked from primer/view_components
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.erb-lint.yml
42 lines (42 loc) · 1.18 KB
/
.erb-lint.yml
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
34
35
36
37
38
39
40
41
42
---
EnableDefaultLinters: true
linters:
DeprecatedComponentsCounter:
enabled: true
ButtonComponentMigrationCounter:
enabled: true
FlashMigrationCounter:
enabled: true
LabelComponentMigrationCounter:
enabled: true
GitHub::Accessibility::AvoidBothDisabledAndAriaDisabled:
enabled: true
GitHub::Accessibility::AvoidGenericLinkTextCounter:
enabled: true
GitHub::Accessibility::DisabledAttributeCounter:
enabled: true
GitHub::Accessibility::IframeHasTitle:
enabled: true
GitHub::Accessibility::ImageHasAlt:
enabled: true
GitHub::Accessibility::LinkHasHrefCounter:
enabled: true
GitHub::Accessibility::NoAriaLabelMisuseCounter:
enabled: true
GitHub::Accessibility::NoPositiveTabIndex:
enabled: true
GitHub::Accessibility::NoRedundantImageAlt:
enabled: true
GitHub::Accessibility::NoTitleAttributeCounter:
enabled: true
GitHub::Accessibility::SvgHasAccessibleTextCounter:
enabled: true
Rubocop:
enabled: true
rubocop_config:
inherit_from:
- lib/rubocop/config/default.yml
Primer/DeprecatedComponents:
Enabled: true
Exclude:
- app/components/primer/layout_component.html.erb