{"name":"stylelint","version":"18.0.0","keywords":["css-in-js","css","less","lint","linter","markdown","sass","scss","stylelint","sugarss"],"author":{"name":"stylelint"},"license":"MIT","_id":"stylelint@18.0.0","maintainers":[{"name":"jeddy3","email":"npm@richardhallows.com"},{"name":"ybiquitous","email":"ybiquitous@gmail.com"},{"name":"romainmenke","email":"romainmenke@gmail.com"},{"name":"ntwb","email":"stephen@netweb.com.au"}],"homepage":"https://stylelint.io","bugs":{"url":"https://github.com/stylelint/stylelint/issues"},"bin":{"stylelint":"bin/stylelint.mjs"},"dist":{"shasum":"0ffa131fe8477b0c0b9f817e3a714ec97f0b5536","tarball":"http://registry-npm.ywwl.com/stylelint/download/stylelint-18.0.0.tgz","fileCount":386,"integrity":"sha512-kI10GsHXQvsH/AcklVZdQgwDuxtHi+A+h1Ujzd7h9LDf3e5jQiLQkWFlPtpynX3E6oVWHG1wo9v6dL0Mr+nnSA==","signatures":[{"sig":"MEYCIQCPLOVERqTRAuy6I7OUpPhyrRcf1VIwdKaXNeJKi3MsnAIhAI8Zntq8T/y8CraMkuHifhr9bduZFN00bkj53uWibX88","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/stylelint@18.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1072269,"size":228694,"noattachment":false,"key":"/stylelint/-/stylelint-18.0.0.tgz"},"engines":{"node":"^22.22.2 || ^24.15.0 || >=26.0.0"},"exports":{".":{"types":"./types/stylelint/index.d.ts","default":"./lib/index.mjs"},"./lib/utils/*":"./lib/utils/*","./package.json":"./package.json"},"funding":[{"url":"https://opencollective.com/stylelint","type":"opencollective"},{"url":"https://github.com/sponsors/stylelint","type":"github"}],"gitHead":"7c49e1828311b9d413826cb47703ef1c6ccae4ef","scripts":{"lint":"patch-package && run-p --continue-on-error lint:*","test":"node scripts/test.mjs","watch":"node scripts/test.mjs --watch","format":"prettier . --write --cache","lint:js":"eslint . --cache --max-warnings=0","lint:md":"remark . --quiet --frail","prepare":"git config set --local core.hooksPath .githooks || true && patch-package","benchmark":"node scripts/benchmarking/run-system.mjs","changeset":"changeset version && node .changeset/rewrite-changelog.mjs CHANGELOG.md","lint:types":"tsc","test-coverage":"node scripts/test.mjs --coverage","benchmark-rule":"node scripts/benchmarking/run-rule.mjs","lint:formatting":"prettier . --check --cache","generate-example-output":"node scripts/generate-example-output/run.mjs"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","approver":{"name":"jeddy3","email":"npm@richardhallows.com"},"trustedPublisher":{"id":"github","oidcConfigId":"07d59949-8ae1-4010-9759-491022239050"}},"prettier":"@stylelint/prettier-config","repository":{"url":"git+https://github.com/stylelint/stylelint.git","type":"git"},"_npmVersion":"12.2.1","description":"A mighty CSS linter that helps you avoid errors and enforce conventions.","directories":{},"lint-staged":{"*.{js,mjs}":"eslint --cache --fix","*.{js,json,md,mjs,ts,yml}":"prettier --write"},"_nodeVersion":"27.0.0-alpha.0.0.0","dependencies":{"colord":"^2.10.0","ignore":"^7.0.14","postcss":"^8.5.31","css-tree":"^3.2.1","picomatch":"^4.0.7","tinyglobby":"^0.2.17","cosmiconfig":"^10.0.1","write-file-atomic":"^8.0.0","@csstools/css-calc":"^3.4.3","import-meta-resolve":"^4.2.0","postcss-safe-parser":"^7.1.0","postcss-value-parser":"^4.2.0","@csstools/css-tokenizer":"^4.0.2","postcss-selector-parser":"^7.1.7","@csstools/selector-specificity":"^6.0.1","@csstools/css-parser-algorithms":"^4.0.2","@csstools/media-query-list-parser":"^5.0.2","@csstools/selector-resolve-nested":"^4.0.2","@csstools/css-syntax-patches-for-csstree":"^1.1.15"},"remarkConfig":{"plugins":["@stylelint/remark-preset","./scripts/remark-plugins/lint-link-to-rule.mjs","./scripts/remark-plugins/lint-code-block.mjs"]},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^10.13.0","sugarss":"^5.0.2","prettier":"^3.9.10","lz-string":"^1.5.0","remark-cli":"^12.0.1","typescript":"^7.0.2","@types/node":"^26.6.5","lint-staged":"^17.6.0","npm-run-all2":"^9.0.4","postcss-html":"^2.0.0","postcss-less":"^6.0.0","postcss-sass":"^0.5.0","postcss-scss":"^4.0.9","patch-package":"^8.0.1","postcss-import":"^17.0.0","@changesets/cli":"^3.0.3","@types/css-tree":"^3.2.0","@types/picomatch":"^4.0.3","@types/postcss-less":"^4.0.7","eslint-config-stylelint":"^28.0.0","@stylelint/remark-preset":"^5.1.2","@types/write-file-atomic":"^4.0.3","stylelint-test-rule-node":"^1.3.0","@stylelint/prettier-config":"^4.1.0","@types/postcss-safe-parser":"^5.0.4","@changesets/get-github-info":"^1.0.1"},"_npmOperationalInternal":{"tmp":"tmp/stylelint_18.0.0_1793709950048_0.7957604665215436","host":"s3://npm-registry-packages-npm-production"},"readme":"# Stylelint\n\n[![npm version](https://img.shields.io/npm/v/stylelint?logo=npm&logoColor=fff)](https://www.npmjs.com/package/stylelint)\n[![npm downloads](https://img.shields.io/npm/dm/stylelint)](https://npmcharts.com/compare/stylelint?minimal=true)\n[![CI](https://github.com/stylelint/stylelint/actions/workflows/ci.yml/badge.svg)](https://github.com/stylelint/stylelint/actions/workflows/ci.yml)\n\nA mighty CSS linter that helps you avoid errors and enforce conventions.\n\n## Features\n\nIt's mighty as it:\n\n- has over **150 built-in rules** for modern CSS syntax and features\n- supports **plugins** so you can create your own custom rules\n- automatically **fixes problems** where possible\n- supports **shareable configs** that you can create or extend\n- can **be customized** to your exact needs\n- has **10k unit tests** making it robust\n- is **trusted by companies worldwide** like Google and GitHub\n\nAnd it can be extended to:\n\n- extract **embedded styles** from HTML, Markdown and CSS-in-JS template literals\n- parse **CSS-like languages** like SCSS, Sass, Less and SugarSS\n\n## How it'll help you\n\nIt'll help you **avoid errors**, for example:\n\n- invalid things, e.g. malformed grid areas\n- valid things that are problematic, e.g. duplicate selectors\n- unknown things, e.g. misspelled property names\n\nAnd **enforce conventions**, for example:\n\n- disallow things, e.g. specific units\n- enforce naming patterns, e.g. for custom properties\n- set limits, e.g. the number of ID selectors\n- specify notations, e.g. for modern color functions\n\nWe recommend using a pretty printer like Prettier alongside Stylelint. Linters and pretty printers are complementary tools that work together to help you write consistent and error-free code.\n\n### Example output\n\n![Example](example.png)\n\n## Guides\n\n- User guide\n  - [Getting started](docs/user-guide/get-started.md)\n  - [Customizing](docs/user-guide/customize.md)\n  - [Configuring](docs/user-guide/configure.md)\n  - [Rules](docs/user-guide/rules.md)\n  - [Ignoring code](docs/user-guide/ignore-code.md)\n  - [CLI](docs/user-guide/cli.md)\n  - [Node.js API](docs/user-guide/node-api.md)\n  - [PostCSS plugin](docs/user-guide/postcss-plugin.md)\n  - [Options](docs/user-guide/options.md)\n  - [Errors & warnings](docs/user-guide/errors.md)\n- Developer guide\n  - [Writing plugins](docs/developer-guide/plugins.md)\n  - [Writing custom syntaxes](docs/developer-guide/syntaxes.md)\n  - [Writing custom formatters](docs/developer-guide/formatters.md)\n- Migration guide\n  - [Migrating to 18.0.0](docs/migration-guide/to-18.md)\n  - [Migrating to 17.0.0](docs/migration-guide/to-17.md)\n  - [Migrating to 16.0.0](docs/migration-guide/to-16.md)\n  - [Migrating to 15.0.0](docs/migration-guide/to-15.md)\n  - [Migrating to 14.0.0](docs/migration-guide/to-14.md)\n- Contributor guide\n  - [Contributing](CONTRIBUTING.md)\n  - [Writing rules](docs/contributor-guide/rules.md)\n  - [Writing system tests](docs/contributor-guide/system-tests.md)\n  - [Benchmarking](docs/contributor-guide/benchmarks.md)\n  - [Glossary](docs/contributor-guide/glossary.md)\n- Maintainer guide\n  - [Managing issues](docs/maintainer-guide/issues.md)\n  - [Managing pull requests](docs/maintainer-guide/pull-requests.md)\n  - [Performing releases](docs/maintainer-guide/releases.md)\n- About\n  - [Vision](docs/about/vision.md)\n  - [Governance](docs/about/governance.md)\n  - [Semantic versioning](docs/about/semantic-versioning.md)\n  - [Support](SUPPORT.md)\n- [Changelog](CHANGELOG.md)\n\n## Contributors\n\nStylelint is maintained by volunteers. Without the code contributions from [all these fantastic people](https://github.com/stylelint/stylelint/graphs/contributors), Stylelint would not exist. [Become a contributor](CONTRIBUTING.md).\n\n### Alumni\n\nWe'd like to thank all past members for their invaluable contributions, including two of Stylelint's co-creators [@davidtheclark](https://github.com/davidtheclark) and [@MoOx](https://github.com/MoOx).\n\n### Sponsors, backers and donors\n\nFinancial contributions help us dedicate time to Stylelint and cover our infrastructure costs.\n\nA big thank you to everyone who sponsors us on [Open Collective](https://opencollective.com/stylelint/):\n\n<object data=\"https://opencollective.com/stylelint/sponsors.svg?width=420&button=false\" type=\"image/svg+xml\">\n  <img src=\"https://opencollective.com/stylelint/sponsors.svg?width=840&button=false\" />\n</object>\n\nAnd thank you to all our Open Collective backers, GitHub sponsors and one-off donors.\n\n[Contribute via Open Collective](https://opencollective.com/stylelint/contribute) or [sponsor us on GitHub](https://github.com/sponsors/stylelint).\n\n#### Website hosting\n\n[![Deploys by Netlify](https://www.netlify.com/assets/badges/netlify-badge-dark.svg)](https://www.netlify.com)\n\n## License\n\n[The MIT License](https://raw.githubusercontent.com/stylelint/stylelint/main/LICENSE).\n","publish_time":1793709950226,"_cnpm_publish_time":1793709950226,"dist-tags":{"latest":"18.0.0"}}