File tree 3 files changed +3
-8
lines changed
3 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
35
35
- "number-no-trailing-zeros": true
36
36
- "selector-list-comma-newline-after": "always"
37
37
- "string-quotes": "single"
38
+ - Removed scss/at-mixin-pattern rule. Resolves [ #181 ] ( https://github.com/bjankord/stylelint-config-sass-guidelines/issues/181 ) and [ #191 ] ( https://github.com/bjankord/stylelint-config-sass-guidelines/issues/191 )
38
39
39
40
## [ 9.0.1]
40
41
### Changed
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ $myVar: 10px;
21
21
` )
22
22
23
23
test ( "Name format scss" , t => {
24
- t . plan ( 5 )
24
+ t . plan ( 4 )
25
25
26
26
postcss ( )
27
27
. use ( stylelint ( { code : invalidScss , config : config , } ) )
@@ -30,18 +30,13 @@ test("Name format scss", t => {
30
30
. catch ( logError )
31
31
32
32
function checkResult ( result ) {
33
- t . equal ( result . warnings ( ) . length , 4 , "flags 4 warning" )
33
+ t . equal ( result . warnings ( ) . length , 3 , "flags 3 warning" )
34
34
var warningsArray = Object . values ( result . warnings ( ) ) . map ( x => x . text ) ;
35
35
t . is (
36
36
warningsArray . includes ( 'Expected @function name to match specified pattern (scss/at-function-pattern)' ) ,
37
37
true ,
38
38
'correct warning text' ,
39
39
)
40
- t . is (
41
- warningsArray . includes ( 'Expected @mixin name to match specified pattern (scss/at-mixin-pattern)' ) ,
42
- true ,
43
- 'correct warning text' ,
44
- )
45
40
t . is (
46
41
warningsArray . includes ( 'Expected $ variable name to match specified pattern (scss/dollar-variable-pattern)' ) ,
47
42
true ,
Original file line number Diff line number Diff line change @@ -44,7 +44,6 @@ module.exports = {
44
44
"scss/at-function-pattern" : "^[a-z]+([a-z0-9-]+[a-z0-9]+)?$" ,
45
45
"scss/at-import-no-partial-leading-underscore" : true ,
46
46
"scss/at-import-partial-extension-blacklist" : [ "scss" ] ,
47
- "scss/at-mixin-pattern" : "^[a-z]+([a-z0-9-]+[a-z0-9]+)?$" ,
48
47
"scss/at-rule-no-unknown" : true ,
49
48
"scss/dollar-variable-colon-space-after" : "always" ,
50
49
"scss/dollar-variable-colon-space-before" : "never" ,
You can’t perform that action at this time.
0 commit comments