stylelint-use-nesting
Advanced tools
Comparing version 4.0.0 to 4.1.0
{ | ||
"name": "stylelint-use-nesting", | ||
"version": "4.0.0", | ||
"version": "4.1.0", | ||
"description": "Enforce nesting when it is possible in CSS", | ||
@@ -10,7 +10,13 @@ "author": "Jonathan Neal <jonathantneal@hotmail.com>", | ||
"bugs": "https://github.com/csstools/stylelint-use-nesting/issues", | ||
"main": "index.js", | ||
"main": "index.cjs", | ||
"module": "index.mjs", | ||
"exports": { | ||
".": { | ||
"import": "./index.mjs", | ||
"node": "./index.cjs" | ||
} | ||
}, | ||
"files": [ | ||
"index.js", | ||
"index.js.map", | ||
"index.cjs", | ||
"index.cjs.map", | ||
"index.mjs", | ||
@@ -20,4 +26,5 @@ "index.mjs.map" | ||
"scripts": { | ||
"build": "rollup --bundleConfigAsCjs -c .rollup.js --silent", | ||
"prepublishOnly": "npm test", | ||
"pretest": "rollup -c .rollup.js --silent", | ||
"pretest": "rollup --bundleConfigAsCjs -c .rollup.js --silent", | ||
"test": "npm run test:js && npm run test:tape", | ||
@@ -30,13 +37,10 @@ "test:js": "eslint src/*.js --cache --ignore-path .gitignore --quiet", | ||
}, | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"@babel/core": "^7.9.6", | ||
"@babel/preset-env": "^7.9.6", | ||
"babel-eslint": "^10.1.0", | ||
"eslint": "^7.0.0", | ||
"eslint-config-dev": "^2.0.0", | ||
"pre-commit": "^1.2.2", | ||
"rollup": "^2.9.1", | ||
"rollup-plugin-babel": "^4.4.0", | ||
"stylelint": "^14.9.1", | ||
"stylelint-tape": "^3.0.0" | ||
"eslint": "8.35.0", | ||
"eslint-config-dev": "3.1.0", | ||
"pre-commit": "1.2.2", | ||
"rollup": "3.18.0", | ||
"stylelint": "15.2.0", | ||
"stylelint-tape": "3.0.0" | ||
}, | ||
@@ -47,4 +51,3 @@ "peerDependencies": { | ||
"eslintConfig": { | ||
"extends": "dev", | ||
"parser": "babel-eslint" | ||
"extends": "dev" | ||
}, | ||
@@ -51,0 +54,0 @@ "keywords": [ |
@@ -14,3 +14,3 @@ # Stylelint Use Nesting [<img src="https://jonneal.dev/stylelint-logo.svg" alt="stylelint" width="90" height="90" align="right">][stylelint] | ||
```bash | ||
```shell | ||
npm install stylelint stylelint-use-nesting --save-dev | ||
@@ -119,2 +119,14 @@ ``` | ||
### syntax | ||
The `syntax` option allows you to specify the syntax of the source files being processed. For SCSS syntax set the value to `scss`. | ||
```js | ||
{ | ||
"rules": { | ||
"csstools/use-nesting": ["always", { "syntax": "scss" }] | ||
} | ||
} | ||
``` | ||
[cli-img]: https://img.shields.io/travis/csstools/stylelint-use-nesting/main.svg | ||
@@ -121,0 +133,0 @@ [cli-url]: https://travis-ci.org/csstools/stylelint-use-nesting |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
6
458
140
63876
1