2016-09-12 13:23:06 -04:00
|
|
|
# Whether to ignore frontmatter at the beginning of HAML documents for
|
|
|
|
# frameworks such as Jekyll/Middleman
|
|
|
|
skip_frontmatter: false
|
|
|
|
exclude:
|
|
|
|
- 'vendor/**/*'
|
2016-09-13 12:56:00 -04:00
|
|
|
- 'spec/**/*'
|
2016-09-12 13:23:06 -04:00
|
|
|
|
|
|
|
linters:
|
|
|
|
AltText:
|
2016-12-22 04:30:00 -05:00
|
|
|
enabled: true
|
2016-09-12 13:23:06 -04:00
|
|
|
|
|
|
|
ClassAttributeWithStaticValue:
|
2016-12-22 05:57:04 -05:00
|
|
|
enabled: true
|
2016-09-12 13:23:06 -04:00
|
|
|
|
|
|
|
ClassesBeforeIds:
|
|
|
|
enabled: false
|
|
|
|
|
|
|
|
ConsecutiveComments:
|
|
|
|
enabled: false
|
|
|
|
|
|
|
|
ConsecutiveSilentScripts:
|
|
|
|
enabled: false
|
|
|
|
max_consecutive: 2
|
|
|
|
|
|
|
|
EmptyObjectReference:
|
|
|
|
enabled: true
|
|
|
|
|
|
|
|
EmptyScript:
|
|
|
|
enabled: true
|
|
|
|
|
|
|
|
FinalNewline:
|
2016-12-22 06:43:11 -05:00
|
|
|
enabled: true
|
2016-09-12 13:23:06 -04:00
|
|
|
present: true
|
|
|
|
|
|
|
|
HtmlAttributes:
|
2016-12-22 07:21:27 -05:00
|
|
|
enabled: true
|
2016-09-12 13:23:06 -04:00
|
|
|
|
2017-08-07 05:08:15 -04:00
|
|
|
IdNames:
|
|
|
|
enabled: false
|
|
|
|
|
2016-09-12 13:23:06 -04:00
|
|
|
ImplicitDiv:
|
2016-12-23 04:32:07 -05:00
|
|
|
enabled: true
|
2016-09-12 13:23:06 -04:00
|
|
|
|
2017-03-06 14:46:52 -05:00
|
|
|
InlineJavaScript:
|
|
|
|
enabled: true
|
|
|
|
|
2017-08-07 05:08:15 -04:00
|
|
|
InlineStyles:
|
|
|
|
enabled: false
|
|
|
|
|
|
|
|
InstanceVariables:
|
|
|
|
enabled: false
|
|
|
|
|
2016-09-12 13:23:06 -04:00
|
|
|
LeadingCommentSpace:
|
|
|
|
enabled: false
|
|
|
|
|
|
|
|
LineLength:
|
|
|
|
enabled: false
|
|
|
|
max: 80
|
|
|
|
|
|
|
|
MultilinePipe:
|
2017-01-16 10:07:03 -05:00
|
|
|
enabled: true
|
2016-09-12 13:23:06 -04:00
|
|
|
|
|
|
|
MultilineScript:
|
|
|
|
enabled: true
|
|
|
|
|
|
|
|
ObjectReferenceAttributes:
|
|
|
|
enabled: true
|
|
|
|
|
2017-08-07 05:08:15 -04:00
|
|
|
RepeatedId:
|
|
|
|
enabled: false
|
|
|
|
|
2016-09-12 13:23:06 -04:00
|
|
|
RuboCop:
|
|
|
|
enabled: false
|
|
|
|
# These cops are incredibly noisy when it comes to HAML templates, so we
|
|
|
|
# ignore them.
|
|
|
|
ignored_cops:
|
|
|
|
- Lint/BlockAlignment
|
|
|
|
- Lint/EndAlignment
|
|
|
|
- Lint/Void
|
|
|
|
- Metrics/LineLength
|
|
|
|
- Style/AlignParameters
|
|
|
|
- Style/BlockNesting
|
|
|
|
- Style/ElseAlignment
|
|
|
|
- Style/FileName
|
|
|
|
- Style/FinalNewline
|
|
|
|
- Style/FrozenStringLiteralComment
|
|
|
|
- Style/IfUnlessModifier
|
|
|
|
- Style/IndentationWidth
|
|
|
|
- Style/Next
|
|
|
|
- Style/TrailingBlankLines
|
|
|
|
- Style/TrailingWhitespace
|
|
|
|
- Style/WhileUntilModifier
|
|
|
|
|
|
|
|
RubyComments:
|
2017-01-16 09:56:26 -05:00
|
|
|
enabled: true
|
2016-09-12 13:23:06 -04:00
|
|
|
|
|
|
|
SpaceBeforeScript:
|
2016-12-23 05:26:15 -05:00
|
|
|
enabled: true
|
2016-09-12 13:23:06 -04:00
|
|
|
|
|
|
|
SpaceInsideHashAttributes:
|
2016-12-26 05:27:58 -05:00
|
|
|
enabled: true
|
2016-09-12 13:23:06 -04:00
|
|
|
style: space
|
|
|
|
|
|
|
|
Indentation:
|
|
|
|
enabled: true
|
|
|
|
character: space # or tab
|
|
|
|
|
|
|
|
TagName:
|
|
|
|
enabled: true
|
|
|
|
|
|
|
|
TrailingWhitespace:
|
2016-12-23 06:48:23 -05:00
|
|
|
enabled: true
|
2016-09-12 13:23:06 -04:00
|
|
|
|
|
|
|
UnnecessaryInterpolation:
|
2017-01-13 11:05:51 -05:00
|
|
|
enabled: true
|
2016-09-12 13:23:06 -04:00
|
|
|
|
|
|
|
UnnecessaryStringOutput:
|
2017-01-15 11:18:52 -05:00
|
|
|
enabled: true
|
2017-08-07 05:08:15 -04:00
|
|
|
|
|
|
|
ViewLength:
|
|
|
|
enabled: false
|