forked from GoogleCloudPlatform/magic-modules
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.erb-lint.yml
46 lines (46 loc) · 1.16 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
43
44
45
46
---
linters:
# TODO: enable this + fix issues.
Rubocop:
enabled: false
rubocop_config:
inherit_from:
- .rubocop.yml
# TODO: enable this + fix issues.
SpaceAroundErbTag:
enabled: false
# TODO: enable this + fix issues.
ClosingErbTagIndent:
enabled: false
# TODO: enable this + fix issues.
TrailingWhitespace:
enabled: false
# While this tag is HTML, it did pick up
# a proper error in the TF markdown files.
SelfClosingTag:
enabled: false
# TF uses tabs.
SpaceIndentation:
enabled: false
# Newlines at end of files depends greatly on the file.
FinalNewline:
enabled: false
# Not relevant.
ErbSafety:
enabled: false
# It's CSS related and not relevant.
DeprecatedClasses:
enabled: false
# It's HTML related and causes false-positives
SpaceInHtmlTag:
enabled: false
# We add multiple blank lines depending on
# templated code should appear.
ExtraNewline:
enabled: false
# Most parser errors are erb-lint trying
# to parse code as HTML
# If left on, it will lead to many false negatives.
# If turned off, it may lead to some false positives.
ParserErrors:
enabled: false