Ensure haml-lint checks Syntax
Also ensures we check Syntax with RuboCop, which is different.
This commit is contained in:
parent
2044473dad
commit
c424ce52c9
1 changed files with 3 additions and 1 deletions
|
@ -118,7 +118,6 @@ linters:
|
||||||
- Lint/ParenthesesAsGroupedExpression
|
- Lint/ParenthesesAsGroupedExpression
|
||||||
- Lint/RedundantWithIndex
|
- Lint/RedundantWithIndex
|
||||||
- Lint/SafeNavigationConsistency
|
- Lint/SafeNavigationConsistency
|
||||||
- Lint/Syntax
|
|
||||||
- Metrics/BlockNesting
|
- Metrics/BlockNesting
|
||||||
- Naming/VariableName
|
- Naming/VariableName
|
||||||
- Performance/RedundantMatch
|
- Performance/RedundantMatch
|
||||||
|
@ -155,6 +154,9 @@ linters:
|
||||||
enabled: true
|
enabled: true
|
||||||
style: space
|
style: space
|
||||||
|
|
||||||
|
Syntax:
|
||||||
|
enabled: true
|
||||||
|
|
||||||
Indentation:
|
Indentation:
|
||||||
enabled: true
|
enabled: true
|
||||||
character: space # or tab
|
character: space # or tab
|
||||||
|
|
Loading…
Reference in a new issue