Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
427fc10d
Commit
427fc10d
authored
Sep 12, 2016
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add .haml-lint.yml
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
ab818b24
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
107 additions
and
0 deletions
+107
-0
.haml-lint.yml
.haml-lint.yml
+107
-0
No files found.
.haml-lint.yml
0 → 100644
View file @
427fc10d
# Default application configuration that all configurations inherit from.
#
# This is an opinionated list of which hooks are valuable to run and what their
# out of the box settings should be.
# Whether to ignore frontmatter at the beginning of HAML documents for
# frameworks such as Jekyll/Middleman
skip_frontmatter
:
false
exclude
:
-
'
vendor/**/*'
linters
:
AltText
:
enabled
:
false
ClassAttributeWithStaticValue
:
enabled
:
false
ClassesBeforeIds
:
enabled
:
false
ConsecutiveComments
:
enabled
:
false
ConsecutiveSilentScripts
:
enabled
:
false
max_consecutive
:
2
EmptyObjectReference
:
enabled
:
true
EmptyScript
:
enabled
:
true
FinalNewline
:
enabled
:
false
present
:
true
HtmlAttributes
:
enabled
:
false
ImplicitDiv
:
enabled
:
false
LeadingCommentSpace
:
enabled
:
false
LineLength
:
enabled
:
false
max
:
80
MultilinePipe
:
enabled
:
false
MultilineScript
:
enabled
:
true
ObjectReferenceAttributes
:
enabled
:
true
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
:
enabled
:
false
SpaceBeforeScript
:
enabled
:
false
SpaceInsideHashAttributes
:
enabled
:
false
style
:
space
Indentation
:
enabled
:
true
character
:
space
# or tab
TagName
:
enabled
:
true
TrailingWhitespace
:
enabled
:
false
UnnecessaryInterpolation
:
enabled
:
false
UnnecessaryStringOutput
:
enabled
:
false
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment