forked from rubyevents/rubyevents
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.erb_lint.yml
More file actions
40 lines (38 loc) · 1.16 KB
/
.erb_lint.yml
File metadata and controls
40 lines (38 loc) · 1.16 KB
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
---
EnableDefaultLinters: true
glob: "**/*.{html}{+*,}.erb"
exclude:
- vendor/bundle/**/*
- node_modules/**/*
- tmp/**/*
- log/**/*
- app/views/profiles/wrapped/**/*
linters:
ErbSafety:
enabled: true
PartialInstanceVariable:
enabled: true
exclude:
- app/views/contributions/_events_without_dates.html.erb
- app/views/contributions/_events_without_location.html.erb
- app/views/contributions/_events_without_videos.html.erb
- app/views/contributions/_missing_videos_cue.html.erb
- app/views/contributions/_speakers_without_github.html.erb
- app/views/contributions/_talks_dates_out_of_bounds.html.erb
- app/views/contributions/_talks_without_slides.html.erb
- app/views/events/_my_attendance_day.html.erb
- app/views/profiles/wrapped/_share.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
Lint/ItWithoutArgumentsInBlock:
Enabled: false