stylelint-scss
Advanced tools
Comparing version 4.1.0 to 4.2.0
@@ -92,2 +92,4 @@ "use strict"; | ||
var _functionNoUnknown = _interopRequireDefault(require("./function-no-unknown")); | ||
var _functionQuoteNoQuotedStringsInside = _interopRequireDefault(require("./function-quote-no-quoted-strings-inside")); | ||
@@ -172,2 +174,3 @@ | ||
"function-color-relative": _functionColorRelative["default"], | ||
"function-no-unknown": _functionNoUnknown["default"], | ||
"map-keys-quotes": _mapKeysQuotes["default"], | ||
@@ -174,0 +177,0 @@ "media-feature-value-dollar-variable": _mediaFeatureValueDollarVariable["default"], |
@@ -6,2 +6,35 @@ "use strict"; | ||
}); | ||
var _exportNames = { | ||
addEmptyLineBefore: true, | ||
atRuleBaseName: true, | ||
atRuleParamIndex: true, | ||
beforeBlockString: true, | ||
blockString: true, | ||
declarationValueIndex: true, | ||
eachRoot: true, | ||
findCommentsInRaws: true, | ||
hasBlock: true, | ||
hasEmptyLine: true, | ||
hasInterpolatingAmpersand: true, | ||
isInlineComment: true, | ||
isNativeCssFunction: true, | ||
isSingleLineString: true, | ||
isStandardRule: true, | ||
isStandardSelector: true, | ||
isStandardSyntaxProperty: true, | ||
isWhitespace: true, | ||
namespace: true, | ||
optionsHaveException: true, | ||
optionsHaveIgnored: true, | ||
parseFunctionArguments: true, | ||
parseNestedPropRoot: true, | ||
parseSelector: true, | ||
rawNodeString: true, | ||
removeEmptyLinesBefore: true, | ||
findOperators: true, | ||
whitespaceChecker: true, | ||
hasNestedSibling: true, | ||
isType: true, | ||
moduleNamespace: true | ||
}; | ||
Object.defineProperty(exports, "addEmptyLineBefore", { | ||
@@ -210,2 +243,16 @@ enumerable: true, | ||
var _functions = require("./functions"); | ||
Object.keys(_functions).forEach(function (key) { | ||
if (key === "default" || key === "__esModule") return; | ||
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return; | ||
if (key in exports && exports[key] === _functions[key]) return; | ||
Object.defineProperty(exports, key, { | ||
enumerable: true, | ||
get: function get() { | ||
return _functions[key]; | ||
} | ||
}); | ||
}); | ||
var _hasBlock = _interopRequireDefault(require("./hasBlock")); | ||
@@ -212,0 +259,0 @@ |
{ | ||
"name": "stylelint-scss", | ||
"description": "A collection of SCSS specific rules for Stylelint", | ||
"version": "4.1.0", | ||
"version": "4.2.0", | ||
"author": "Krister Kari", | ||
@@ -38,6 +38,6 @@ "babel": { | ||
"rimraf": "^3.0.2", | ||
"stylelint": "^14.0.1" | ||
"stylelint": "^14.5.1" | ||
}, | ||
"peerDependencies": { | ||
"stylelint": "^14.0.0" | ||
"stylelint": "^14.5.1" | ||
}, | ||
@@ -44,0 +44,0 @@ "eslintConfig": { |
@@ -147,2 +147,3 @@ # stylelint-scss | ||
- [`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. | ||
- [`function-no-unknown`](./src/rules/function-no-unknown/README.md): Disallow unknown functions. Should be used **instead of** Stylelint's [function-no-unknown](https://stylelint.io/user-guide/rules/list/at-rule-no-unknown). | ||
- [`function-quote-no-quoted-strings-inside`](./src/rules/function-quote-no-quoted-strings-inside/README.md): Disallow quoted strings inside the [quote function](https://sass-lang.com/documentation/modules/string#quote) (Autofixable). | ||
@@ -226,17 +227,17 @@ - [`function-unquote-no-unquoted-strings-inside`](./src/rules/function-unquote-no-unquoted-strings-inside/README.md): Disallow unquoted strings inside the [unquote function](https://sass-lang.com/documentation/modules/string#unquote) (Autofixable). | ||
<tr> | ||
<th align="center"><a href="https://github.com/stof"><img alt="stof" src="https://avatars.githubusercontent.com/u/439401?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/kaysonwu"><img alt="kaysonwu" src="https://avatars.githubusercontent.com/u/14865584?v=4&s=80" width="80"></a></th> | ||
<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/stof"><img alt="stof" src="https://avatars.githubusercontent.com/u/439401?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/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/ybiquitous"><img alt="ybiquitous" src="https://avatars.githubusercontent.com/u/473530?v=4&s=80" width="80"></a></th> | ||
</tr> | ||
</thead> | ||
<tbody><tr> | ||
<td align="center"><a href="https://github.com/stof">stof</a></td> | ||
<td align="center"><a href="https://github.com/niksy">niksy</a></td> | ||
<td align="center"><a href="https://github.com/kaysonwu">kaysonwu</a></td> | ||
<td align="center"><a href="https://github.com/srawlins">srawlins</a></td> | ||
<td align="center"><a href="https://github.com/stof">stof</a></td> | ||
<td align="center"><a href="https://github.com/ybiquitous">ybiquitous</a></td> | ||
<td align="center"><a href="https://github.com/pipopotamasu">pipopotamasu</a></td> | ||
<td align="center"><a href="https://github.com/ybiquitous">ybiquitous</a></td> | ||
</tr> | ||
@@ -247,2 +248,3 @@ </tbody></table> | ||
<tr> | ||
<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> | ||
<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> | ||
@@ -253,6 +255,6 @@ <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/bjankord"><img alt="bjankord" src="https://avatars.githubusercontent.com/u/633148?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/jhae-de">jhae-de</a></td> | ||
<td align="center"><a href="https://github.com/OriR">OriR</a></td> | ||
@@ -263,3 +265,2 @@ <td align="center"><a href="https://github.com/ntwb">ntwb</a></td> | ||
<td align="center"><a href="https://github.com/bjankord">bjankord</a></td> | ||
<td align="center"><a href="https://github.com/kevindew">kevindew</a></td> | ||
</tr> | ||
@@ -270,2 +271,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> | ||
@@ -276,6 +278,6 @@ <th align="center"><a href="https://github.com/AndyOGo"><img alt="AndyOGo" src="https://avatars.githubusercontent.com/u/914443?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> | ||
<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> | ||
</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> | ||
@@ -286,3 +288,2 @@ <td align="center"><a href="https://github.com/AndyOGo">AndyOGo</a></td> | ||
<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> | ||
</tr> | ||
@@ -293,2 +294,3 @@ </tbody></table> | ||
<tr> | ||
<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> | ||
<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> | ||
@@ -298,3 +300,2 @@ <th align="center"><a href="https://github.com/Calme1709"><img alt="Calme1709" src="https://avatars.githubusercontent.com/u/30140939?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/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> | ||
@@ -304,2 +305,3 @@ </tr> | ||
<tbody><tr> | ||
<td align="center"><a href="https://github.com/vseventer">vseventer</a></td> | ||
<td align="center"><a href="https://github.com/SterlingVix">SterlingVix</a></td> | ||
@@ -309,3 +311,2 @@ <td align="center"><a href="https://github.com/Calme1709">Calme1709</a></td> | ||
<td align="center"><a href="https://github.com/diego-codes">diego-codes</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> | ||
@@ -312,0 +313,0 @@ </tr> |
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
105
6711
347
286538