stylelint-scss
Advanced tools
Comparing version 3.20.0 to 3.20.1
@@ -0,1 +1,6 @@ | ||
# 3.20.1 | ||
- Fixed: `comment-no-empty` remove duplicate rule name from rule's rejected message and improve readme. | ||
- Fixed: `at-rule-no-unknown` remove duplicate rule name from rule's rejected message. | ||
# 3.20.0 | ||
@@ -2,0 +7,0 @@ |
@@ -21,3 +21,7 @@ "use strict"; | ||
var messages = _stylelint.utils.ruleMessages(ruleName, { | ||
rejected: _stylelint.rules[ruleToCheckAgainst].messages.rejected | ||
rejected: function rejected() { | ||
var _rules$ruleToCheckAga; | ||
return (_rules$ruleToCheckAga = _stylelint.rules[ruleToCheckAgainst].messages).rejected.apply(_rules$ruleToCheckAga, arguments).replace(" (".concat(ruleToCheckAgainst, ")"), ""); | ||
} | ||
}); | ||
@@ -24,0 +28,0 @@ |
@@ -12,7 +12,8 @@ "use strict"; | ||
var ruleName = (0, _utils.namespace)("comment-no-empty"); | ||
var coreRuleName = "comment-no-empty"; | ||
var ruleName = (0, _utils.namespace)(coreRuleName); | ||
exports.ruleName = ruleName; | ||
var messages = _stylelint.utils.ruleMessages(ruleName, { | ||
rejected: "Unexpected empty comment" | ||
rejected: _stylelint.rules[coreRuleName].messages.rejected.replace(" (".concat(coreRuleName, ")"), "") | ||
}); | ||
@@ -19,0 +20,0 @@ |
{ | ||
"name": "stylelint-scss", | ||
"description": "A collection of SCSS specific rules for stylelint", | ||
"version": "3.20.0", | ||
"version": "3.20.1", | ||
"author": "Krister Kari", | ||
@@ -6,0 +6,0 @@ "babel": { |
@@ -223,5 +223,5 @@ # stylelint-scss | ||
<th align="center"><a href="https://github.com/Eugeno"><img alt="Eugeno" src="https://avatars.githubusercontent.com/u/23382920?v=4&s=80" width="80"></a></th> | ||
<th align="center"><a href="https://github.com/ybiquitous"><img alt="ybiquitous" src="https://avatars.githubusercontent.com/u/473530?v=4&s=80" width="80"></a></th> | ||
<th align="center"><a href="https://github.com/OriR"><img alt="OriR" src="https://avatars.githubusercontent.com/u/2384068?v=4&s=80" width="80"></a></th> | ||
<th align="center"><a href="https://github.com/ntwb"><img alt="ntwb" src="https://avatars.githubusercontent.com/u/1016458?v=4&s=80" width="80"></a></th> | ||
<th align="center"><a href="https://github.com/ricardogobbosouza"><img alt="ricardogobbosouza" src="https://avatars.githubusercontent.com/u/13064722?v=4&s=80" width="80"></a></th> | ||
</tr> | ||
@@ -233,5 +233,5 @@ </thead> | ||
<td align="center"><a href="https://github.com/Eugeno">Eugeno</a></td> | ||
<td align="center"><a href="https://github.com/ybiquitous">ybiquitous</a></td> | ||
<td align="center"><a href="https://github.com/OriR">OriR</a></td> | ||
<td align="center"><a href="https://github.com/ntwb">ntwb</a></td> | ||
<td align="center"><a href="https://github.com/ricardogobbosouza">ricardogobbosouza</a></td> | ||
</tr> | ||
@@ -242,2 +242,3 @@ </tbody></table> | ||
<tr> | ||
<th align="center"><a href="https://github.com/ricardogobbosouza"><img alt="ricardogobbosouza" src="https://avatars.githubusercontent.com/u/13064722?v=4&s=80" width="80"></a></th> | ||
<th align="center"><a href="https://github.com/bjankord"><img alt="bjankord" src="https://avatars.githubusercontent.com/u/633148?v=4&s=80" width="80"></a></th> | ||
@@ -248,6 +249,6 @@ <th align="center"><a href="https://github.com/kevindew"><img alt="kevindew" src="https://avatars.githubusercontent.com/u/282717?v=4&s=80" width="80"></a></th> | ||
<th align="center"><a href="https://github.com/niksy"><img alt="niksy" src="https://avatars.githubusercontent.com/u/389286?v=4&s=80" width="80"></a></th> | ||
<th align="center"><a href="https://github.com/alexander-akait"><img alt="alexander-akait" src="https://avatars.githubusercontent.com/u/4567934?v=4&s=80" width="80"></a></th> | ||
</tr> | ||
</thead> | ||
<tbody><tr> | ||
<td align="center"><a href="https://github.com/ricardogobbosouza">ricardogobbosouza</a></td> | ||
<td align="center"><a href="https://github.com/bjankord">bjankord</a></td> | ||
@@ -258,3 +259,2 @@ <td align="center"><a href="https://github.com/kevindew">kevindew</a></td> | ||
<td align="center"><a href="https://github.com/niksy">niksy</a></td> | ||
<td align="center"><a href="https://github.com/alexander-akait">alexander-akait</a></td> | ||
</tr> | ||
@@ -265,2 +265,3 @@ </tbody></table> | ||
<tr> | ||
<th align="center"><a href="https://github.com/alexander-akait"><img alt="alexander-akait" src="https://avatars.githubusercontent.com/u/4567934?v=4&s=80" width="80"></a></th> | ||
<th align="center"><a href="https://github.com/vseventer"><img alt="vseventer" src="https://avatars.githubusercontent.com/u/638323?v=4&s=80" width="80"></a></th> | ||
@@ -271,6 +272,6 @@ <th align="center"><a href="https://github.com/SterlingVix"><img alt="SterlingVix" src="https://avatars.githubusercontent.com/u/7531113?v=4&s=80" width="80"></a></th> | ||
<th align="center"><a href="https://github.com/diego-codes"><img alt="diego-codes" src="https://avatars.githubusercontent.com/u/5973294?v=4&s=80" width="80"></a></th> | ||
<th align="center"><a href="https://github.com/EvanHahn"><img alt="EvanHahn" src="https://avatars.githubusercontent.com/u/777712?v=4&s=80" width="80"></a></th> | ||
</tr> | ||
</thead> | ||
<tbody><tr> | ||
<td align="center"><a href="https://github.com/alexander-akait">alexander-akait</a></td> | ||
<td align="center"><a href="https://github.com/vseventer">vseventer</a></td> | ||
@@ -281,3 +282,2 @@ <td align="center"><a href="https://github.com/SterlingVix">SterlingVix</a></td> | ||
<td align="center"><a href="https://github.com/diego-codes">diego-codes</a></td> | ||
<td align="center"><a href="https://github.com/EvanHahn">EvanHahn</a></td> | ||
</tr> | ||
@@ -288,2 +288,3 @@ </tbody></table> | ||
<tr> | ||
<th align="center"><a href="https://github.com/EvanHahn"><img alt="EvanHahn" src="https://avatars.githubusercontent.com/u/777712?v=4&s=80" width="80"></a></th> | ||
<th align="center"><a href="https://github.com/guoyunhe"><img alt="guoyunhe" src="https://avatars.githubusercontent.com/u/5836790?v=4&s=80" width="80"></a></th> | ||
@@ -294,6 +295,6 @@ <th align="center"><a href="https://github.com/jantimon"><img alt="jantimon" src="https://avatars.githubusercontent.com/u/4113649?v=4&s=80" width="80"></a></th> | ||
<th align="center"><a href="https://github.com/manovotny"><img alt="manovotny" src="https://avatars.githubusercontent.com/u/446260?v=4&s=80" width="80"></a></th> | ||
<th align="center"><a href="https://github.com/paulgv"><img alt="paulgv" src="https://avatars.githubusercontent.com/u/4895885?v=4&s=80" width="80"></a></th> | ||
</tr> | ||
</thead> | ||
<tbody><tr> | ||
<td align="center"><a href="https://github.com/EvanHahn">EvanHahn</a></td> | ||
<td align="center"><a href="https://github.com/guoyunhe">guoyunhe</a></td> | ||
@@ -304,3 +305,2 @@ <td align="center"><a href="https://github.com/jantimon">jantimon</a></td> | ||
<td align="center"><a href="https://github.com/manovotny">manovotny</a></td> | ||
<td align="center"><a href="https://github.com/paulgv">paulgv</a></td> | ||
</tr> | ||
@@ -311,2 +311,3 @@ </tbody></table> | ||
<tr> | ||
<th align="center"><a href="https://github.com/paulgv"><img alt="paulgv" src="https://avatars.githubusercontent.com/u/4895885?v=4&s=80" width="80"></a></th> | ||
<th align="center"><a href="https://github.com/sajadtorkamani"><img alt="sajadtorkamani" src="https://avatars.githubusercontent.com/u/9380313?v=4&s=80" width="80"></a></th> | ||
@@ -317,6 +318,6 @@ <th align="center"><a href="https://github.com/YozhikM"><img alt="YozhikM" src="https://avatars.githubusercontent.com/u/27273025?v=4&s=80" width="80"></a></th> | ||
<th align="center"><a href="https://github.com/YodaDaCoda"><img alt="YodaDaCoda" src="https://avatars.githubusercontent.com/u/365349?v=4&s=80" width="80"></a></th> | ||
<th align="center"><a href="https://github.com/freezy-sk"><img alt="freezy-sk" src="https://avatars.githubusercontent.com/u/661637?v=4&s=80" width="80"></a></th> | ||
</tr> | ||
</thead> | ||
<tbody><tr> | ||
<td align="center"><a href="https://github.com/paulgv">paulgv</a></td> | ||
<td align="center"><a href="https://github.com/sajadtorkamani">sajadtorkamani</a></td> | ||
@@ -327,3 +328,2 @@ <td align="center"><a href="https://github.com/YozhikM">YozhikM</a></td> | ||
<td align="center"><a href="https://github.com/YodaDaCoda">YodaDaCoda</a></td> | ||
<td align="center"><a href="https://github.com/freezy-sk">freezy-sk</a></td> | ||
</tr> | ||
@@ -334,2 +334,3 @@ </tbody></table> | ||
<tr> | ||
<th align="center"><a href="https://github.com/freezy-sk"><img alt="freezy-sk" src="https://avatars.githubusercontent.com/u/661637?v=4&s=80" width="80"></a></th> | ||
<th align="center"><a href="https://github.com/jeddy3"><img alt="jeddy3" src="https://avatars.githubusercontent.com/u/808227?v=4&s=80" width="80"></a></th> | ||
@@ -339,2 +340,3 @@ </tr> | ||
<tbody><tr> | ||
<td align="center"><a href="https://github.com/freezy-sk">freezy-sk</a></td> | ||
<td align="center"><a href="https://github.com/jeddy3">jeddy3</a></td> | ||
@@ -341,0 +343,0 @@ </tr> |
# comment-no-empty | ||
Disallow empty comments. | ||
Disallow empty comments. Should be used **instead of** the stylelint's [comment-no-empty](https://stylelint.io/user-guide/rules/comment-no-empty) because the core rule ignores SCSS-like comments. | ||
@@ -11,2 +11,13 @@ <!-- prettier-ignore --> | ||
To avoid duplicate issues, you must disable the core rule as follows: | ||
```json | ||
{ | ||
"rules": { | ||
"comment-no-empty": null, | ||
"scss/comment-no-empty": true | ||
} | ||
} | ||
``` | ||
## Options | ||
@@ -57,2 +68,2 @@ | ||
**/ | ||
``` | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
366976
6393
335