File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ const config = {
2727 'scss/at-function-parentheses-space-before' : 'never' ,
2828 'scss/at-function-pattern' : reLowercase ,
2929 'scss/at-if-no-null' : true ,
30- 'scss/at-import -partial-extension' : 'never' ,
30+ 'scss/load -partial-extension' : 'never' ,
3131 'scss/at-mixin-argumentless-call-parentheses' : 'never' ,
3232 'scss/at-mixin-parentheses-space-before' : 'never' ,
3333 'scss/at-mixin-pattern' : reLowercase ,
Original file line number Diff line number Diff line change 3636 "dependencies" : {
3737 "postcss-scss" : " ^4.0.9" ,
3838 "stylelint-config-xo" : " ^1.0.0" ,
39- "stylelint-scss" : " ^6.2.1 "
39+ "stylelint-scss" : " ^6.4.0 "
4040 },
4141 "devDependencies" : {
4242 "ava" : " ^6.1.2" ,
Original file line number Diff line number Diff line change @@ -12,7 +12,8 @@ const runStylelint = async code => {
1212
1313 for ( const result of results ) {
1414 if ( result . deprecations . length > 0 ) {
15- throw new Error ( `Deprecations:\n${ result . deprecations . join ( '\n' ) } ` ) ;
15+ const warnings = result . deprecations . map ( x => x . text ) . join ( '\n' ) ;
16+ throw new Error ( `Deprecations:\n${ warnings } ` ) ;
1617 }
1718
1819 if ( result . invalidOptionWarnings . length > 0 ) {
You can’t perform that action at this time.
0 commit comments