forked from manyfold3d/manyfold
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.erb_lint.yml
32 lines (32 loc) · 831 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
---
EnableDefaultLinters: true
exclude:
- "**/vendor/**/*"
- "**/node_modules/**/*"
linters:
# Non-default linters
PartialInstanceVariable:
enabled: false # TODO
DeprecatedClasses:
enabled: true
ErbSafety:
enabled: true
Rubocop:
enabled: true
rubocop_config:
inherit_from:
- .rubocop.yml
# Disable unhelpful rules for ERB templates
Layout/InitialIndentation:
Enabled: false # ERB tags start at unusual indentations
Layout/TrailingEmptyLines:
Enabled: false # We don't need a newline inside every ERB tag!
# Temporarily disabled while we fix
Lint/UselessAssignment:
Enabled: false # TODO
Style/NestedTernaryOperator:
Enabled: false # TODO
RequireScriptNonce:
enabled: true
NoUnusedDisable:
enabled: true