{"_id":"stylelint-config-astro","_rev":"7-37865fa4476c25df811acf35e9145b97","name":"stylelint-config-astro","dist-tags":{"latest":"2.0.0"},"versions":{"1.0.3":{"name":"stylelint-config-astro","version":"1.0.3","keywords":["stylelint","config","stylelint-config","astro"],"author":{"url":"https://github.com/mattpfeffer","name":"Matt Pfeffer"},"license":"MIT","_id":"stylelint-config-astro@1.0.3","maintainers":[{"name":"mattpfeffer","email":"matt@koncierge.com.au"}],"homepage":"https://github.com/mattpfeffer/stylelint-config-astro#readme","bugs":{"url":"https://github.com/mattpfeffer/stylelint-config-astro/issues"},"dist":{"shasum":"14f423daa67a9b6f6ebe9bab294e7fbfedd28905","tarball":"https://registry.npmjs.org/stylelint-config-astro/-/stylelint-config-astro-1.0.3.tgz","fileCount":22,"integrity":"sha512-N7NQ2YoQ2oYNNcTKNoVJt4mhRFUsZ6ZujLbUDlPkz5bimiWx2zRDNsfiNe8eZmOp1Kq+agqUVJgfJ4MElsUxEA==","signatures":[{"sig":"MEUCIDmbxN49of2ksyWDmcHfmeVRYh6i13vL7pkCKoH65U6FAiEAlmJrSfdoh0Q+n5l3iUflD+vc1Enob1U87S4H2dp3/B0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9357,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiuuzXACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrzIw//Xr1o679TSHW31Ja4511Mv8L2CZcogavOhmvQ3as6aNaU9j0w\r\nXBejTDbCF+sYMKoDyqll0W45zJ1eJRHu8rUSbXIG+uCkt8i+apo8rlar9psg\r\nGkuSPIWHMEknY7jxmiKGw5tbrliMC4vIaLLmL3y4ZG8IkrrK1Zc/C3bcM2um\r\n2qTDjKATnqWTd9xEWOL0h5Dy8yg34837OrqhHqF9/OZpHB0VmRTxfcNGsFbD\r\nSpb2Rwklo+IqPjRai6DCr6hY0ki2+V2aYJpUb2OKTa8XomlDqW/D3brUGvKb\r\nRJL3VPcMG3I1hS/ZcemQLGpR65crb+XlE/7uth8Nvx+zQnAGScNSu99CVfcv\r\nwNQfrBc9mtjAYg7/AeJzZe67ya9bn26OTRvHFTQXazXDGeIRdoJgWTE+mkzK\r\ntxGOJukP2fJP38OgpdxMGOWuGiYeNxVojevOkJoGPesrk/JWYCP07vuc8Udw\r\nxZMk4K5XpHIA1tRZNs0PS7V+0euZKwG6cUqCYaI/paH62gFPPBtG3t6ELE3t\r\nM9Yp1yv4Mr22zK/tqRbRy+IWBkNW9UtemE2OVpw4icQbSx9wxlBr/tItQG+T\r\neAZnaDi58PYZG9+ub366ecW14cYcAzWeEUb455kGiGzhMN4XmzthKCjqdfhz\r\nd9V3hI/oHQLaytmL9jI1qsDupH3rzti3REw=\r\n=YsbK\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","gitHead":"ad362e5395c2c352c73caff2cae769c88d97749b","scripts":{"next":"node ./.scripts/next-version.cjs","types":"tsc -w","release":"standard-version"},"_npmUser":{"name":"mattpfeffer","email":"matt@koncierge.com.au"},"repository":{"url":"git+https://github.com/mattpfeffer/stylelint-config-astro.git","type":"git"},"_npmVersion":"8.12.1","description":"A shareable Stylelint config for linting Astro files.","directories":{},"_nodeVersion":"18.4.0","dependencies":{"typescript":"^4.7.3"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^8.0.1","eslint":"^8.17.0","semver":"^7.3.7","prettier":"^2.6.2","stylelint":"^14.9.0","@commitlint/cli":"^17.0.2","eslint-plugin-n":"^15.2.2","standard-version":"^9.5.0","eslint-plugin-import":"^2.26.0","eslint-plugin-promise":"^6.0.0","eslint-config-prettier":"^8.5.0","eslint-config-standard":"^17.0.0","@typescript-eslint/parser":"^5.27.1","stylelint-config-prettier":"^9.0.3","stylelint-config-standard":"^26.0.0","conventional-recommended-bump":"^6.1.0","@commitlint/config-conventional":"^17.0.2","@typescript-eslint/eslint-plugin":"^5.27.1"},"peerDependencies":{"stylelint":">=14.0.0","postcss-html":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/stylelint-config-astro_1.0.3_1656417495381_0.36816865675620436","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"stylelint-config-astro","version":"1.0.4","keywords":["stylelint","config","stylelint-config","astro"],"author":{"url":"https://github.com/mattpfeffer","name":"Matt Pfeffer"},"license":"MIT","_id":"stylelint-config-astro@1.0.4","maintainers":[{"name":"mattpfeffer","email":"matt@koncierge.com.au"}],"homepage":"https://github.com/mattpfeffer/stylelint-config-astro#readme","bugs":{"url":"https://github.com/mattpfeffer/stylelint-config-astro/issues"},"dist":{"shasum":"2e9362df05c239b04174daefd8c1f47155661433","tarball":"https://registry.npmjs.org/stylelint-config-astro/-/stylelint-config-astro-1.0.4.tgz","fileCount":22,"integrity":"sha512-AzmZX6MbAArMsPe+RqrkHD15YSRc+zd9NwosPIN4zDpXoNC8ExD7xpwRsbe+GSfDveOjK3Fd8BFG6Gss/USc2w==","signatures":[{"sig":"MEUCIQDriiTAf92xLjF71sWLIu8kfWnaAvletctJ5h6C9VKu6AIgSDmoxaEtDEbpxlY7pFyI+WEMwkzH+5poHAVMPaT/Gi0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9681,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJixDByACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrTsA/+LvEwDjTqDVozQFYqalLb83gT0uXQt6Mx11eNtqn0sRVPBfea\r\n5PQWfVlf7tZCmV3UaXefXOtiHR2L4Sl51Wsk0BguxEr8CY9ZBK7jncDj+9Qd\r\nhtNpwKeEA7emH/N8yh13fzMOsfec23gGh30+JErm+NbX0/51HqpCb/oMKNe7\r\nIr7YyLJEnglRLejvQaSguqQFllfNtMhool/4c9qEDSXxPhspwe1Kr72TQXZx\r\nwwSCfNQjAkxYqFYLIXNCyBK3JqUk47Z7F2gGK7iGyNLmzgBwq7XqjjoDo6Cc\r\niB6mxYLX/udZLZ3lYFTRjUxB6dhoP1/TQ0Ap15kfEUCIki77aXywDWXONgCE\r\nDlVOCskjhGkV0ZVq8bhSNz6IeTLOwCL0bKkSBDmlLthm6SsssplZDOv9bWaM\r\nmxIKRLERGazQphxLL1dJK+WgKqRieJEYoMgDgcW9zlCct1WuMj4TK6a36Muj\r\noPV+sklk94gvEGrla4h3tVsYS7nexSHQo0Dk1z3cBJUhY+EcOpq2pIDEdOw0\r\nire+IEqjQuk2fuToMHxUAlYjZ527nUe5193xSYOEGwleaC+uHA9Y80nV5/Bc\r\nCTPjAsnq+wnJ+MhaQlUj6+6SMxcwgN+YPZZ0mAKm8sx/LtAwtTzZqf2iaDKd\r\n1Gq5+rcw8bANayCbaMB6e9meZb+F/D20Jn0=\r\n=ko9d\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","gitHead":"e62dc9d04ce392c2fbec6f858228796417a185ea","scripts":{"next":"node ./.scripts/next-version.cjs","types":"tsc -w","release":"standard-version"},"_npmUser":{"name":"mattpfeffer","email":"matt@koncierge.com.au"},"repository":{"url":"git+https://github.com/mattpfeffer/stylelint-config-astro.git","type":"git"},"_npmVersion":"8.12.1","description":"A shareable Stylelint config for linting Astro files.","directories":{},"_nodeVersion":"18.4.0","dependencies":{"typescript":"^4.7.3"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^8.0.1","eslint":"^8.17.0","semver":"^7.3.7","prettier":"^2.6.2","stylelint":"^14.9.0","@commitlint/cli":"^17.0.2","eslint-plugin-n":"^15.2.2","standard-version":"^9.5.0","eslint-plugin-import":"^2.26.0","eslint-plugin-promise":"^6.0.0","eslint-config-prettier":"^8.5.0","eslint-config-standard":"^17.0.0","@typescript-eslint/parser":"^5.27.1","stylelint-config-prettier":"^9.0.3","stylelint-config-standard":"^26.0.0","conventional-recommended-bump":"^6.1.0","@commitlint/config-conventional":"^17.0.2","@typescript-eslint/eslint-plugin":"^5.27.1"},"peerDependencies":{"stylelint":">=14.0.0","postcss-html":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/stylelint-config-astro_1.0.4_1657024625951_0.4609791321305512","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"stylelint-config-astro","version":"2.0.0","description":"A shareable Stylelint config for linting Astro files.","author":{"name":"Matt Pfeffer","url":"https://github.com/mattpfeffer"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/mattpfeffer/stylelint-config-astro.git"},"keywords":["stylelint","config","stylelint-config","astro"],"main":"dist/cjs/index.js","module":"dist/esm/index.js","exports":{".":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js","default":"./dist/esm/index.js"},"./astro":{"import":"./dist/esm/astro.js","require":"./dist/cjs/astro.js","default":"./dist/esm/astro.js"},"./vue":{"import":"./dist/esm/vue.js","require":"./dist/cjs/vue.js","default":"./dist/esm/vue.js"},"./svelte":{"import":"./dist/esm/svelte.js","require":"./dist/cjs/svelte.js","default":"./dist/esm/svelte.js"},"./html":{"import":"./dist/esm/html.js","require":"./dist/cjs/html.js","default":"./dist/esm/html.js"}},"scripts":{"clean":"node -e \"require('fs').rmSync('dist', { recursive: true, force: true });\"","build":"pnpm run clean && tsc -p tsconfig.esm.json && tsc -p tsconfig.cjs.json && node ./.scripts/fix-cjs.cjs","types":"tsc -p tsconfig.json -w","next":"node ./.scripts/next-version.cjs","release":"commit-and-tag-version","prepare":"husky"},"devDependencies":{"@commitlint/cli":"^20.1.0","@commitlint/config-conventional":"^20.0.0","@types/node":"^24.9.1","@typescript-eslint/eslint-plugin":"^8.46.2","@typescript-eslint/parser":"^8.46.2","commit-and-tag-version":"^12.6.0","conventional-recommended-bump":"^11.2.0","eslint":"^9.38.0","eslint-config-prettier":"^10.1.8","eslint-plugin-import":"^2.32.0","eslint-plugin-n":"^17.23.1","eslint-plugin-promise":"^7.2.1","husky":"^9.1.7","neostandard":"^0.12.2","prettier":"^3.6.2","semver":"^7.7.3","stylelint":"^14.16.1","stylelint-config-standard":"^26.0.0"},"peerDependencies":{"postcss-html":"^1.0.0","stylelint":">=14.0.0"},"dependencies":{"typescript":"^5.9.3"},"packageManager":"pnpm@10.19.0","_id":"stylelint-config-astro@2.0.0","gitHead":"b6cdf028bb1e8779053fea09bf34532b7e9a6a26","bugs":{"url":"https://github.com/mattpfeffer/stylelint-config-astro/issues"},"homepage":"https://github.com/mattpfeffer/stylelint-config-astro#readme","_nodeVersion":"24.10.0","_npmVersion":"11.6.0","dist":{"integrity":"sha512-BSl+wNEa3h1+GhHAfI3WO/fPylcVoePLIMd+JX1hz1Pt2cnqRswjfA4EqD6Wy2DqrariqYJE1xXZCnuJNrjb8w==","shasum":"d362efaae1502a5cfa7229cfd25c6ec3ebcdc7f1","tarball":"https://registry.npmjs.org/stylelint-config-astro/-/stylelint-config-astro-2.0.0.tgz","fileCount":13,"unpackedSize":8911,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIAo9HOBG0svZif5sNmczmaSnNrXFucrEf2LwKLejvqeZAiAL9ttwSjJO0Hm3juWprOXDfwzHJ2M+T0j8Y6Q0MUJFTA=="}]},"_npmUser":{"name":"mattpfeffer","email":"matt@koncierge.com.au"},"directories":{},"maintainers":[{"name":"mattpfeffer","email":"matt@koncierge.com.au"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/stylelint-config-astro_2.0.0_1761611671173_0.34104245030000246"},"_hasShrinkwrap":false}},"time":{"created":"2022-06-28T07:40:26.091Z","modified":"2025-10-28T00:34:31.546Z","1.0.1":"2022-06-28T07:40:26.273Z","1.0.2":"2022-06-28T11:25:16.145Z","1.0.3":"2022-06-28T11:58:15.579Z","1.0.4":"2022-07-05T12:37:06.087Z","2.0.0":"2025-10-28T00:34:31.373Z"},"bugs":{"url":"https://github.com/mattpfeffer/stylelint-config-astro/issues"},"author":{"name":"Matt Pfeffer","url":"https://github.com/mattpfeffer"},"license":"MIT","homepage":"https://github.com/mattpfeffer/stylelint-config-astro#readme","keywords":["stylelint","config","stylelint-config","astro"],"repository":{"type":"git","url":"git+https://github.com/mattpfeffer/stylelint-config-astro.git"},"description":"A shareable Stylelint config for linting Astro files.","maintainers":[{"name":"mattpfeffer","email":"matt@koncierge.com.au"}],"readme":"# stylelint-config-astro\n\nA shareable Stylelint config for linting Astro (`.astro`) files :rocket:\n\n## The low down\n\nThis config bundles [postcss-html] and configures it to parse .astro files so you can use Stylelint\non the `<style></style>` section within those components.\n\n## Minimum Requirements\n\nFrom v2, this package is compatible with the following peer dependencies:\n\n-   [stylelint] v16.0.0 and above\n-   [postcss-html] v1.6.0 and above\n\n## Installation\n\n```sh\n# Using npm\nnpm install --save-dev postcss-html stylelint-config-astro\n\n# Using yarn\nyarn add --dev postcss-html stylelint-config-astro\n\n# Using pnpm\npnpm add --save-dev postcss-html stylelint-config-astro\n```\n\n## Usage\n\nAppend to the [`extends` array](https://stylelint.io/user-guide/configure/#extends) in your\n`stylelint.config.js` or equivalent. It's usually best placed **after** your other rulesets.\n\n```jsonc\n{\n    \"extends\": [\n        // other configs ...\n        \"stylelint-config-astro\"\n    ]\n}\n```\n\n## Integrations\n\n### Visual Studio Code\n\nUse the official\n[stylelint.vscode-stylelint](https://marketplace.visualstudio.com/items?itemName=stylelint.vscode-stylelint)\nextension.\n\nAdd the `.astro` file extension to `stylelint.validate` under settings to enable linting for Astro\nfiles. It's also a good idea to add `.html`, `.vue`, `.svelte`, etc. if you're working in a mixed project - this package adds basic support for those file types as well.\n\n**.vscode/settings.json**:\n\n```jsonc\n{\n    \"stylelint.validate\": [\n        \"html\",\n        \"vue\",\n        \"svelte\",\n        // other file extensions...\n        \"astro\"\n    ]\n}\n```\n\n## Credits\n\nAlthough this package is not a direct fork it heavily leverages the the work of\n[@ota-meshi](https://github.com/ota-meshi) in\n[stylelint-config-html](https://github.com/ota-meshi/stylelint-config-html).\n\n[stylelint]: https://stylelint.io/\n[postcss-html]: https://github.com/ota-meshi/postcss-html\n\n_Note: At the time of development, stylelint-config-html did not support Astro files natively. It now does, so you may want to consider using that package instead if you want support for a broader set of file types._\n","readmeFilename":"README.md"}