-
Notifications
You must be signed in to change notification settings - Fork 1k
Expand file tree
/
Copy path.erb_lint.yml
More file actions
39 lines (39 loc) · 962 Bytes
/
.erb_lint.yml
File metadata and controls
39 lines (39 loc) · 962 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
34
35
36
37
38
39
---
linters:
AllowedScriptType:
enabled: true
disallow_inline_scripts: true
HardCodedString:
enabled: false # We're using a custom version of this, see below
# Add our own linter, refs https://github.com/Shopify/erb_lint/pull/397
CustomHardCodedString:
enabled: true
exclude:
- 'app/views/shared/_markdown_help.html.erb'
Rubocop:
enabled: true
rubocop_config:
inherit_from:
- .rubocop.yml
Layout/InitialIndentation:
Enabled: false
Layout/LineLength:
Enabled: false
Layout/TrailingEmptyLines:
Enabled: false
Layout/TrailingWhitespace:
Enabled: false
Lint/UselessAssignment:
Enabled: false
Naming/FileName:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false
SelfClosingTag:
enabled: false
SpaceInHtmlTag:
enabled: true
NoUnusedDisable:
enabled: true
exclude:
- '**/vendor/**'