Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

stylelint-use-nesting

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stylelint-use-nesting - npm Package Compare versions

Comparing version 4.0.0 to 4.1.0

index.cjs

37

package.json
{
"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

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