mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-19 04:49:15 +00:00
This shuts the annoying lint error ``` Hash attribute should start with one space after the opening brace Hash attribute should end with one space before the closing brace ``` and it aligns with our existing style. See https://github.com/openfoodfoundation/openfoodnetwork/pull/6629 as an example.
71 lines
1.0 KiB
YAML
71 lines
1.0 KiB
YAML
# Whether to ignore frontmatter at the beginning of HAML documents for
|
|
# frameworks such as Jekyll/Middleman
|
|
skip_frontmatter: false
|
|
|
|
linters:
|
|
AltText:
|
|
enabled: false
|
|
|
|
ClassAttributeWithStaticValue:
|
|
enabled: true
|
|
|
|
ClassesBeforeIds:
|
|
enabled: true
|
|
|
|
ConsecutiveComments:
|
|
enabled: true
|
|
|
|
ConsecutiveSilentScripts:
|
|
enabled: true
|
|
max_consecutive: 2
|
|
|
|
EmptyScript:
|
|
enabled: true
|
|
|
|
HtmlAttributes:
|
|
enabled: true
|
|
|
|
ImplicitDiv:
|
|
enabled: true
|
|
|
|
LeadingCommentSpace:
|
|
enabled: true
|
|
|
|
LineLength:
|
|
enabled: true
|
|
max: 80
|
|
|
|
MultilinePipe:
|
|
enabled: true
|
|
|
|
MultilineScript:
|
|
enabled: true
|
|
|
|
ObjectReferenceAttributes:
|
|
enabled: true
|
|
|
|
RuboCop:
|
|
enabled: false
|
|
|
|
RubyComments:
|
|
enabled: true
|
|
|
|
SpaceBeforeScript:
|
|
enabled: true
|
|
|
|
SpaceInsideHashAttributes:
|
|
enabled: true
|
|
style: no_space
|
|
|
|
TagName:
|
|
enabled: true
|
|
|
|
TrailingWhitespace:
|
|
enabled: true
|
|
|
|
UnnecessaryInterpolation:
|
|
enabled: true
|
|
|
|
UnnecessaryStringOutput:
|
|
enabled: true
|