Added lesshint and exempted everything which is currently being violated

This commit is contained in:
Caleb James DeLisle
2017-12-08 16:25:57 +01:00
parent dd44b4da99
commit eb24fcae0d
2 changed files with 39 additions and 3 deletions

35
.lesshintrc Normal file
View File

@@ -0,0 +1,35 @@
{
"fileExtensions": [".less"],
// These rules are almost certainly crap and will not catch bugs (Caleb)
"finalNewline": false,
"newlineAfterBlock": false,
"spaceAroundOperator": false,
"hexLength": false,
"hexNotation": false,
"propertyOrdering": false,
"stringQuotes": false,
"importPath": false,
"qualifyingElement": false,
"decimalZero": false,
"borderZero": false,
// These rules should be discussed, if they're crap then they should be moved up.
"zeroUnit": false,
"spaceAroundComma": false,
"singleLinePerProperty": false,
"importantRule": false,
"idSelector": false,
"singleLinePerSelector": false,
"spaceAfterPropertyColon": false,
"spaceBetweenParens": false,
"spaceBeforeBrace": false,
"universalSelector": false,
// These rules are really good rules to have around IMO (Caleb) but they're not being honored.
"duplicateProperty": false,
"trailingSemicolon": false,
"emptyRule": false,
"maxCharPerLine": false,
"trailingWhitespace": false
}