Socket
Socket
Sign inDemoInstall

stylelint-scss

Package Overview
Dependencies
Maintainers
3
Versions
109
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stylelint-scss - npm Package Compare versions

Comparing version 5.1.0 to 5.2.0

src/rules/at-root-no-redundant/index.js

10

package.json
{
"name": "stylelint-scss",
"description": "A collection of SCSS-specific rules for Stylelint",
"version": "5.1.0",
"version": "5.2.0",
"author": "Krister Kari",

@@ -19,3 +19,3 @@ "repository": "stylelint-scss/stylelint-scss",

"devDependencies": {
"eslint": "^8.46.0",
"eslint": "^8.48.0",
"github-contributors-list": "^1.2.5",

@@ -25,7 +25,7 @@ "husky": "^8.0.3",

"jest-preset-stylelint": "^6.1.1",
"lint-staged": "^13.2.3",
"lint-staged": "^14.0.1",
"np": "^8.0.4",
"postcss": "^8.4.27",
"postcss": "^8.4.29",
"postcss-less": "^6.0.0",
"postcss-scss": "^4.0.6",
"postcss-scss": "^4.0.7",
"prettier": "^3.0.0",

@@ -32,0 +32,0 @@ "stylelint": "^15.7.0"

@@ -33,5 +33,3 @@ # stylelint-scss

{
"plugins": [
"stylelint-scss"
],
"plugins": ["stylelint-scss"],
"rules": {

@@ -106,2 +104,3 @@ // recommended rules

- [`at-use-no-unnamespaced`](./src/rules/at-use-no-unnamespaced/README.md): Disallow `@use` without a namespace (i.e. `@use "..." as *`).
- [`at-use-no-redundant-alias`](./src/rules/at-use-no-redundant-alias/README.md): Disallow redundant namespace aliases (i.e. `@use "foo" as foo`).

@@ -147,2 +146,3 @@ ### `$`-variable

- [`function-calculation-no-interpolation`](./src/rules/function-calculation-no-interpolation/README.md): Disallow interpolation in `calc()`, `clamp()`, `min()`, and `max()` functions.
- [`function-color-relative`](./src/rules/function-color-relative/README.md): Encourage the use of the [scale-color](https://sass-lang.com/documentation/modules/color#scale-color) function over regular color functions.

@@ -172,2 +172,6 @@ - [`function-disallowed-list`](./src/rules/function-disallowed-list/README.md): Specify a list of disallowed functions. Should be used **instead of** Stylelint's [function-disallowed-list](https://stylelint.io/user-guide/rules/function-disallowed-list).

### Property
- [`property-no-unknown`](./src/rules/property-no-unknown/README.md): Disallow unknown properties, including [nested properties](https://sass-lang.com/documentation/style-rules/declarations/#nesting). Should be used instead of Stylelint's [property-no-unknown](https://stylelint.io/user-guide/rules/property-no-unknown).
### Selector

@@ -235,3 +239,3 @@

<th align="center"><a href="https://github.com/srawlins"><img alt="srawlins" src="https://avatars.githubusercontent.com/u/103167?v=4&s=80" width="80"></a></th>
<th align="center"><a href="https://github.com/pipopotamasu"><img alt="pipopotamasu" src="https://avatars.githubusercontent.com/u/14048211?v=4&s=80" width="80"></a></th>
<th align="center"><a href="https://github.com/pamelalozano16"><img alt="pamelalozano16" src="https://avatars.githubusercontent.com/u/30474787?v=4&s=80" width="80"></a></th>
</tr>

@@ -245,3 +249,3 @@ </thead>

<td align="center"><a href="https://github.com/srawlins">srawlins</a></td>
<td align="center"><a href="https://github.com/pipopotamasu">pipopotamasu</a></td>
<td align="center"><a href="https://github.com/pamelalozano16">pamelalozano16</a></td>
</tr>

@@ -252,2 +256,3 @@ </tbody></table>

<tr>
<th align="center"><a href="https://github.com/pipopotamasu"><img alt="pipopotamasu" src="https://avatars.githubusercontent.com/u/14048211?v=4&s=80" width="80"></a></th>
<th align="center"><a href="https://github.com/jhae-de"><img alt="jhae-de" src="https://avatars.githubusercontent.com/u/28291021?v=4&s=80" width="80"></a></th>

@@ -258,6 +263,6 @@ <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/jeddy3"><img alt="jeddy3" src="https://avatars.githubusercontent.com/u/808227?v=4&s=80" width="80"></a></th>
<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>
</tr>
</thead>
<tbody><tr>
<td align="center"><a href="https://github.com/pipopotamasu">pipopotamasu</a></td>
<td align="center"><a href="https://github.com/jhae-de">jhae-de</a></td>

@@ -268,3 +273,2 @@ <td align="center"><a href="https://github.com/OriR">OriR</a></td>

<td align="center"><a href="https://github.com/jeddy3">jeddy3</a></td>
<td align="center"><a href="https://github.com/kevindew">kevindew</a></td>
</tr>

@@ -275,2 +279,3 @@ </tbody></table>

<tr>
<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/thibaudcolas"><img alt="thibaudcolas" src="https://avatars.githubusercontent.com/u/877585?v=4&s=80" width="80"></a></th>

@@ -281,6 +286,6 @@ <th align="center"><a href="https://github.com/chimurai"><img alt="chimurai" src="https://avatars.githubusercontent.com/u/655241?v=4&s=80" width="80"></a></th>

<th align="center"><a href="https://github.com/chalkygames123"><img alt="chalkygames123" src="https://avatars.githubusercontent.com/u/5608239?v=4&s=80" width="80"></a></th>
<th align="center"><a href="https://github.com/xboy2012"><img alt="xboy2012" src="https://avatars.githubusercontent.com/u/7540144?v=4&s=80" width="80"></a></th>
</tr>
</thead>
<tbody><tr>
<td align="center"><a href="https://github.com/kevindew">kevindew</a></td>
<td align="center"><a href="https://github.com/thibaudcolas">thibaudcolas</a></td>

@@ -291,3 +296,2 @@ <td align="center"><a href="https://github.com/chimurai">chimurai</a></td>

<td align="center"><a href="https://github.com/chalkygames123">chalkygames123</a></td>
<td align="center"><a href="https://github.com/xboy2012">xboy2012</a></td>
</tr>

@@ -298,2 +302,3 @@ </tbody></table>

<tr>
<th align="center"><a href="https://github.com/xboy2012"><img alt="xboy2012" src="https://avatars.githubusercontent.com/u/7540144?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>

@@ -304,6 +309,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/lithiumlron"><img alt="lithiumlron" src="https://avatars.githubusercontent.com/u/101921280?v=4&s=80" width="80"></a></th>
</tr>
</thead>
<tbody><tr>
<td align="center"><a href="https://github.com/xboy2012">xboy2012</a></td>
<td align="center"><a href="https://github.com/vseventer">vseventer</a></td>

@@ -314,3 +319,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/lithiumlron">lithiumlron</a></td>
</tr>

@@ -321,2 +325,3 @@ </tbody></table>

<tr>
<th align="center"><a href="https://github.com/lithiumlron"><img alt="lithiumlron" src="https://avatars.githubusercontent.com/u/101921280?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>

@@ -327,6 +332,6 @@ <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>

<th align="center"><a href="https://github.com/keegan-lillo"><img alt="keegan-lillo" src="https://avatars.githubusercontent.com/u/3537963?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>
</tr>
</thead>
<tbody><tr>
<td align="center"><a href="https://github.com/lithiumlron">lithiumlron</a></td>
<td align="center"><a href="https://github.com/EvanHahn">EvanHahn</a></td>

@@ -337,3 +342,2 @@ <td align="center"><a href="https://github.com/guoyunhe">guoyunhe</a></td>

<td align="center"><a href="https://github.com/keegan-lillo">keegan-lillo</a></td>
<td align="center"><a href="https://github.com/manovotny">manovotny</a></td>
</tr>

@@ -344,4 +348,4 @@ </tbody></table>

<tr>
<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/nlydv"><img alt="nlydv" src="https://avatars.githubusercontent.com/u/39429628?v=4&s=80" width="80"></a></th>
<th align="center"><a href="https://github.com/pamelalozano16"><img alt="pamelalozano16" src="https://avatars.githubusercontent.com/u/30474787?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>

@@ -354,4 +358,4 @@ <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>

<tbody><tr>
<td align="center"><a href="https://github.com/manovotny">manovotny</a></td>
<td align="center"><a href="https://github.com/nlydv">nlydv</a></td>
<td align="center"><a href="https://github.com/pamelalozano16">pamelalozano16</a></td>
<td align="center"><a href="https://github.com/paulgv">paulgv</a></td>

@@ -358,0 +362,0 @@ <td align="center"><a href="https://github.com/sajadtorkamani">sajadtorkamani</a></td>

@@ -25,3 +25,5 @@ "use strict";

"at-rule-conditional-no-parentheses": require("./at-rule-conditional-no-parentheses"),
"at-root-no-redundant": require("./at-root-no-redundant"),
"at-rule-no-unknown": require("./at-rule-no-unknown"),
"at-use-no-redundant-alias": require("./at-use-no-redundant-alias"),
"at-use-no-unnamespaced": require("./at-use-no-unnamespaced"),

@@ -47,2 +49,3 @@ "comment-no-empty": require("./comment-no-empty"),

"function-disallowed-list": require("./function-disallowed-list"),
"function-calculation-no-interpolation": require("./function-calculation-no-interpolation"),
"function-color-relative": require("./function-color-relative"),

@@ -63,2 +66,3 @@ "function-no-unknown": require("./function-no-unknown"),

"percent-placeholder-pattern": require("./percent-placeholder-pattern"),
"property-no-unknown": require("./property-no-unknown"),
"selector-nest-combinators": require("./selector-nest-combinators"),

@@ -65,0 +69,0 @@ "selector-no-redundant-nesting-selector": require("./selector-no-redundant-nesting-selector"),

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc