Skip to content

Commit

Permalink
Improved sass-lint
Browse files Browse the repository at this point in the history
Restored property spelling checking and fixed indentation handling
  • Loading branch information
LaurentGoderre committed Oct 26, 2016
1 parent 5f17fdd commit 5d19f62
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
10 changes: 6 additions & 4 deletions .sass-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ rules:
id-name-format: 0
indentation:
- 2
- size: 1
- size: tab
leading-zero: 2
mixin-name-format: 0
nesting-depth: 0
Expand All @@ -26,9 +26,11 @@ rules:
no-empty-rulesets: 2
no-ids: 0
no-important: 0
# Set to 2 when following issue is resolved
# https://github.com/sasstools/sass-lint/issues/352
no-misspelled-properties: 0
no-misspelled-properties:
- 2
-
'extra-properties':
- 'overflow-scrolling'
no-url-protocols: 1
no-trailing-whitespace: 2
placeholder-name-format: 0
Expand Down
1 change: 1 addition & 0 deletions Gruntfile.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ module.exports = (grunt) ->
"INTERNAL: Runs testing tasks except for SauceLabs testing"
[
"eslint"
"sasslint"
]
)

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,4 @@
"sinon": "~1.12.2",
"time-grunt": "~1.3.0"
}
}
}

0 comments on commit 5d19f62

Please sign in to comment.