{"_id":"@csstools/stylelint-no-at-nest-rule","_rev":"6-ffcc93a4ba5afa3c0018940e0716a013","name":"@csstools/stylelint-no-at-nest-rule","dist-tags":{"latest":"5.0.0"},"versions":{"1.0.0":{"name":"@csstools/stylelint-no-at-nest-rule","version":"1.0.0","keywords":["stylelint","stylelint-plugin"],"license":"MIT-0","_id":"@csstools/stylelint-no-at-nest-rule@1.0.0","maintainers":[{"name":"alaguna","email":"sombragriselros@gmail.com"},{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"contributors":[{"url":"https://antonio.laguna.es","name":"Antonio Laguna","email":"antonio@laguna.es"},{"name":"Romain Menke","email":"romainmenke@gmail.com"}],"homepage":"https://github.com/csstools/postcss-plugins/blob/main/plugins-stylelint/no-at-nest-rule#readme","bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"dist":{"shasum":"1255355ec98fc97ac2a72706f9a5637c9fcdbd90","tarball":"https://registry.npmjs.org/@csstools/stylelint-no-at-nest-rule/-/stylelint-no-at-nest-rule-1.0.0.tgz","fileCount":4,"integrity":"sha512-wnaD8jqex8NieEqpt7aDkL1NSzaTeZ+vLdhTOL/an9fZd3eDky/rBxixvocd8j1pk+NT4HFm2zK/xmBX/uMJXQ==","signatures":[{"sig":"MEUCIQD0nlNuC1cjxlD39vH7cfBju2BHI8dsHNlZ+sSIk9vXaQIgO8eZj39NbstrVWPhPfBRA3U/9RvTpkDXL0zicx8DjYw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4552},"jest":{"preset":"jest-preset-stylelint"},"main":"index.js","engines":{"node":"^14 || ^16 || >=18"},"funding":[{"url":"https://github.com/sponsors/csstools","type":"github"},{"url":"https://opencollective.com/csstools","type":"opencollective"}],"gitHead":"070464af391edd688ad5f740207c0f7967e5cec6","scripts":{"lint":"node ../../.github/bin/format-package-json.mjs","test":"jest"},"_npmUser":{"name":"alaguna","email":"sombragriselros@gmail.com"},"repository":{"url":"git+https://github.com/csstools/postcss-plugins.git","type":"git","directory":"plugins-stylelint/no-at-nest-rule"},"_npmVersion":"9.5.0","description":"Do not allow @nest rules","directories":{},"_nodeVersion":"18.15.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.4.3","postcss":"^8.4","stylelint":"^15.6.0","jest-preset-stylelint":"^6.1.0"},"peerDependencies":{"postcss":"^8.4","stylelint":"^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/stylelint-no-at-nest-rule_1.0.0_1686735134275_0.18614527635366795","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"@csstools/stylelint-no-at-nest-rule","version":"2.0.0","keywords":["stylelint","stylelint-plugin"],"license":"MIT-0","_id":"@csstools/stylelint-no-at-nest-rule@2.0.0","maintainers":[{"name":"romainmenke","email":"romainmenke@gmail.com"},{"name":"alaguna","email":"sombragriselros@gmail.com"},{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"contributors":[{"url":"https://antonio.laguna.es","name":"Antonio Laguna","email":"antonio@laguna.es"},{"name":"Romain Menke","email":"romainmenke@gmail.com"}],"homepage":"https://github.com/csstools/postcss-plugins/blob/main/plugins-stylelint/no-at-nest-rule#readme","bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"dist":{"shasum":"b446fc43fc455f83af5a35d6ec6273be6fa2b13b","tarball":"https://registry.npmjs.org/@csstools/stylelint-no-at-nest-rule/-/stylelint-no-at-nest-rule-2.0.0.tgz","fileCount":4,"integrity":"sha512-nQCoS358K9AgXdm7aHg3Ybxr3g5WPlUmh6WKwkdiZU1z3ft0dr7D6tRgWKcD+li14Eq31VeY9BAzrAp6oy/rvg==","signatures":[{"sig":"MEUCIH4KVQqXqUtYPeb/1AektEtlUo+DIxMevnv8iMDUm4MNAiEAtEye6a3kx+djO4S75RXhPtQY+E68/z2u5qO/wNo/CQU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4300},"main":"index.mjs","type":"module","engines":{"node":"^14 || ^16 || >=18"},"funding":[{"url":"https://github.com/sponsors/csstools","type":"github"},{"url":"https://opencollective.com/csstools","type":"opencollective"}],"gitHead":"c93840335e0c2c3701f683dddd05e3a3de0ef8da","_npmUser":{"name":"romainmenke","email":"romainmenke@gmail.com"},"repository":{"url":"git+https://github.com/csstools/postcss-plugins.git","type":"git","directory":"plugins-stylelint/no-at-nest-rule"},"_npmVersion":"10.2.3","description":"Do not allow @nest rules","directories":{},"_nodeVersion":"20.10.0","_hasShrinkwrap":false,"peerDependencies":{"postcss":"^8.4","stylelint":"^16.0.2"},"_npmOperationalInternal":{"tmp":"tmp/stylelint-no-at-nest-rule_2.0.0_1702682108693_0.03219054137929733","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"@csstools/stylelint-no-at-nest-rule","version":"3.0.0","keywords":["stylelint","stylelint-plugin"],"license":"MIT-0","_id":"@csstools/stylelint-no-at-nest-rule@3.0.0","maintainers":[{"name":"romainmenke","email":"romainmenke@gmail.com"},{"name":"alaguna","email":"sombragriselros@gmail.com"},{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"contributors":[{"url":"https://antonio.laguna.es","name":"Antonio Laguna","email":"antonio@laguna.es"},{"name":"Romain Menke","email":"romainmenke@gmail.com"}],"homepage":"https://github.com/csstools/postcss-plugins/blob/main/plugins-stylelint/no-at-nest-rule#readme","bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"dist":{"shasum":"44e5452848a8062d19dd4c208256551e3eadf186","tarball":"https://registry.npmjs.org/@csstools/stylelint-no-at-nest-rule/-/stylelint-no-at-nest-rule-3.0.0.tgz","fileCount":4,"integrity":"sha512-fNzhAC5YaLg4ikZd58Q4NPoEolIRDhmUL2uauHkUZTmg/Btr0ueFrTn40sPU3F72AsodY2TpUnRSTmk7UvyDIg==","signatures":[{"sig":"MEYCIQCIVK6oBw38Wp95PVKHLZDkRJNSWKH42wQ+PSgdd6EdIAIhANkZE8arD8PFouEsAhmeOdSfrU4jkuEswputXLYKRnie","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4306},"main":"index.mjs","type":"module","engines":{"node":">=18"},"funding":[{"url":"https://github.com/sponsors/csstools","type":"github"},{"url":"https://opencollective.com/csstools","type":"opencollective"}],"gitHead":"a10ae0a92ed49506638c4902fca74ca6f2ae5f44","scripts":{},"_npmUser":{"name":"romainmenke","email":"romainmenke@gmail.com"},"repository":{"url":"git+https://github.com/csstools/postcss-plugins.git","type":"git","directory":"plugins-stylelint/no-at-nest-rule"},"_npmVersion":"10.7.0","description":"Do not allow @nest rules","directories":{},"_nodeVersion":"22.1.0","_hasShrinkwrap":false,"peerDependencies":{"postcss":"^8.4","stylelint":"^16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/stylelint-no-at-nest-rule_3.0.0_1722721167728_0.9141764566298547","host":"s3://npm-registry-packages"}},"4.0.0":{"name":"@csstools/stylelint-no-at-nest-rule","version":"4.0.0","keywords":["stylelint","stylelint-plugin"],"license":"MIT-0","_id":"@csstools/stylelint-no-at-nest-rule@4.0.0","maintainers":[{"name":"romainmenke","email":"romainmenke@gmail.com"},{"name":"alaguna","email":"sombragriselros@gmail.com"},{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"contributors":[{"url":"https://antonio.laguna.es","name":"Antonio Laguna","email":"antonio@laguna.es"},{"name":"Romain Menke","email":"romainmenke@gmail.com"}],"homepage":"https://github.com/csstools/postcss-plugins/blob/main/plugins-stylelint/no-at-nest-rule#readme","bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"dist":{"shasum":"27f84bc460d0a92b4535cfc519173b925075f670","tarball":"https://registry.npmjs.org/@csstools/stylelint-no-at-nest-rule/-/stylelint-no-at-nest-rule-4.0.0.tgz","fileCount":4,"integrity":"sha512-p+NgSq6T6ngpavfd/DAS0Eg16r8zh4V23dgnt5PmyWHRmKd1IFEnKL6k4icd4yJQ9qa1IDlR3m7/yfJcA5NlfQ==","signatures":[{"sig":"MEUCIQDqyXR3snCBrBQaoi3bHW4DrZlPMLa0Kbj4zVegCAzxfwIgN9MlzwUaTK0Hg6VZQ/MGoLzHSQ9znpmb1UyH/aPlhq4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4265},"main":"index.mjs","type":"module","engines":{"node":">=18"},"funding":[{"url":"https://github.com/sponsors/csstools","type":"github"},{"url":"https://opencollective.com/csstools","type":"opencollective"}],"gitHead":"e06ef765bdecc5d293fdc6b4a67f622aca1d4a93","scripts":{},"_npmUser":{"name":"romainmenke","email":"romainmenke@gmail.com"},"repository":{"url":"git+https://github.com/csstools/postcss-plugins.git","type":"git","directory":"plugins-stylelint/no-at-nest-rule"},"_npmVersion":"10.7.0","description":"Do not allow @nest rules","directories":{},"_nodeVersion":"22.1.0","_hasShrinkwrap":false,"peerDependencies":{"postcss":"^8.4","stylelint":"^16.8.2"},"_npmOperationalInternal":{"tmp":"tmp/stylelint-no-at-nest-rule_4.0.0_1723989046903_0.2963286320248406","host":"s3://npm-registry-packages"}},"5.0.0":{"name":"@csstools/stylelint-no-at-nest-rule","description":"Do not allow @nest rules","version":"5.0.0","contributors":[{"name":"Antonio Laguna","email":"antonio@laguna.es","url":"https://antonio.laguna.es"},{"name":"Romain Menke","email":"romainmenke@gmail.com"}],"license":"MIT-0","funding":[{"type":"github","url":"https://github.com/sponsors/csstools"},{"type":"opencollective","url":"https://opencollective.com/csstools"}],"engines":{"node":">=20.19.0"},"type":"module","exports":{".":{"default":"./index.mjs"}},"peerDependencies":{"postcss":"^8.4","stylelint":"^17.0.0"},"scripts":{},"homepage":"https://github.com/csstools/postcss-plugins/blob/main/plugins-stylelint/no-at-nest-rule#readme","repository":{"type":"git","url":"git+https://github.com/csstools/postcss-plugins.git","directory":"plugins-stylelint/no-at-nest-rule"},"bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"keywords":["stylelint","stylelint-plugin"],"gitHead":"b3aa1c9b2274dd1c604e0f41d5dd444344109a39","_id":"@csstools/stylelint-no-at-nest-rule@5.0.0","_nodeVersion":"25.1.0","_npmVersion":"11.6.2","dist":{"integrity":"sha512-Z44pjrJHbB8t1y4kB42mMUaYQguT1V+PDtln3tDF8kywzmUWDJ82DDhCmYT0bNLagXzKBK3Zs8++HHHxS/hCww==","shasum":"f76e7b92bf7d3ad383ebcbc03ae12f186983664d","tarball":"https://registry.npmjs.org/@csstools/stylelint-no-at-nest-rule/-/stylelint-no-at-nest-rule-5.0.0.tgz","fileCount":4,"unpackedSize":4307,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIHG/FVhL54l1CDdt8HHLH6h9zCfxVQf5mANvBTEofbo2AiBWPHR4Vt03j80va9SQpgPN3tF58flyR5b/ZaWxS8witg=="}]},"_npmUser":{"name":"romainmenke","email":"romainmenke@gmail.com"},"directories":{},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},{"name":"alaguna","email":"sombragriselros@gmail.com"},{"name":"romainmenke","email":"romainmenke@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/stylelint-no-at-nest-rule_5.0.0_1768485885859_0.24881151477235486"},"_hasShrinkwrap":false}},"time":{"created":"2023-06-14T09:32:14.202Z","modified":"2026-01-15T14:04:46.158Z","1.0.0":"2023-06-14T09:32:14.457Z","2.0.0":"2023-12-15T23:15:08.923Z","3.0.0":"2024-08-03T21:39:27.864Z","4.0.0":"2024-08-18T13:50:47.058Z","5.0.0":"2026-01-15T14:04:45.975Z"},"bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"license":"MIT-0","homepage":"https://github.com/csstools/postcss-plugins/blob/main/plugins-stylelint/no-at-nest-rule#readme","keywords":["stylelint","stylelint-plugin"],"repository":{"type":"git","url":"git+https://github.com/csstools/postcss-plugins.git","directory":"plugins-stylelint/no-at-nest-rule"},"description":"Do not allow @nest rules","contributors":[{"name":"Antonio Laguna","email":"antonio@laguna.es","url":"https://antonio.laguna.es"},{"name":"Romain Menke","email":"romainmenke@gmail.com"}],"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},{"name":"alaguna","email":"sombragriselros@gmail.com"},{"name":"romainmenke","email":"romainmenke@gmail.com"}],"readme":"# [@csstools/stylelint-no-at-nest-rule](https://www.npmjs.com/package/@csstools/stylelint-no-at-nest-rule)\n\n[![version](https://img.shields.io/npm/v/@csstools/stylelint-no-at-nest-rule.svg)](https://www.npmjs.com/package/@csstools/stylelint-no-at-nest-rule)\n\nPrevent usage of `@nest` in CSS.\n\n```css\n/* valid */\n.element {\n\tarticle & {}\n}\n\n/* invalid */\n.element {\n\t@nest article & {}\n}\n```\n\nThe CSS Nesting specification has changed and `@nest` is no longer required and has been removed from the specification.  \nSince it will never be valid CSS in browsers it is important to migrate away from it.\n\n**Valid CSS :**\n\n```css\n.element {\n\tarticle {}\n\n\tarticle & {}\n}\n```\n\n**Invalid CSS :**\n\n```css\n.foo {\n\t@nest article {}\n\n\t@nest article & {}\n}\n```\n\n## Usage\n\n`npm install --save-dev @csstools/stylelint-no-at-nest-rule`\n\n```js\n// stylelint.config.js\nmodule.exports = {\n\tplugins: [\n\t\t\"@csstools/stylelint-no-at-nest-rule\",\n\t],\n\trules: {\n\t\t\"@csstools/stylelint-no-at-nest-rule\": true,\n\t},\n}\n```\n","readmeFilename":"README.md"}