Update SCSS-Lint to v0.49.0 (#20250)

SCSS-Lint 0.49.0 modifies Shorthand linter to report lint if a shorthand
of a length not specified in the allowed_shorthands option is used.

New defaults include "4" in the list of allowed shorthands, so we are changing our configuration accordingly.

Ref: e283d16896
This commit is contained in:
Geremia Taglialatela 2016-07-08 05:38:44 +02:00 committed by Chris Rebert
parent eb7c13bba7
commit 1347cb0152
3 changed files with 5 additions and 5 deletions

View File

@ -4,5 +4,5 @@ group :development, :test do
gem 'jekyll', '~> 3.1.2' gem 'jekyll', '~> 3.1.2'
gem 'jekyll-redirect-from', '~> 0.10.0' gem 'jekyll-redirect-from', '~> 0.10.0'
gem 'jekyll-sitemap', '~> 0.10.0' gem 'jekyll-sitemap', '~> 0.10.0'
gem 'scss_lint', '~> 0.48.0' gem 'scss_lint', '~> 0.49.0'
end end

View File

@ -33,9 +33,9 @@ GEM
rouge (1.11.1) rouge (1.11.1)
safe_yaml (1.0.4) safe_yaml (1.0.4)
sass (3.4.22) sass (3.4.22)
scss_lint (0.48.0) scss_lint (0.49.0)
rake (>= 0.9, < 12) rake (>= 0.9, < 12)
sass (~> 3.4.15) sass (~> 3.4.20)
PLATFORMS PLATFORMS
ruby ruby
@ -45,7 +45,7 @@ DEPENDENCIES
jekyll (~> 3.1.2) jekyll (~> 3.1.2)
jekyll-redirect-from (~> 0.10.0) jekyll-redirect-from (~> 0.10.0)
jekyll-sitemap (~> 0.10.0) jekyll-sitemap (~> 0.10.0)
scss_lint (~> 0.48.0) scss_lint (~> 0.49.0)
BUNDLED WITH BUNDLED WITH
1.12.5 1.12.5

View File

@ -457,7 +457,7 @@ linters:
Shorthand: Shorthand:
enabled: true enabled: true
allowed_shorthands: [1, 2, 3] allowed_shorthands: [1, 2, 3, 4]
SingleLinePerProperty: SingleLinePerProperty:
enabled: false enabled: false