-
Notifications
You must be signed in to change notification settings - Fork 59
/
Copy path.erb_lint.yml
34 lines (33 loc) · 981 Bytes
/
.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
---
EnableDefaultLinters: true
glob: "**/*.{html}{+*,}.erb"
exclude:
- vendor/bundle/**/*
- node_modules/**/*
- tmp/**/*
- log/**/*
linters:
ErbSafety:
enabled: true
PartialInstanceVariable:
enabled: true
exclude:
- app/views/contributions/_events_without_videos.html.erb
- app/views/contributions/_speakers_without_github.html.erb
- app/views/contributions/_talks_without_slides.html.erb
- app/views/contributions/_events_without_location.html.erb
- app/views/contributions/_events_without_dates.html.erb
- app/views/contributions/_talks_dates_out_of_bounds.html.erb
- app/views/contributions/_missing_videos_cue.html.erb
Rubocop:
enabled: true
rubocop_config:
require: standard
inherit_gem:
standard: config/base.yml
Layout/InitialIndentation:
Enabled: false
Layout/TrailingEmptyLines:
Enabled: false
Lint/UselessAssignment:
Enabled: false