{"name":"stylelint","version":"17.9.0","keywords":["css-in-js","css","less","lint","linter","markdown","sass","scss","stylelint","sugarss"],"author":{"name":"stylelint"},"license":"MIT","_id":"stylelint@17.9.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":"f38806264f0222e7ec9f7d0e067b7ad91f75a07b","tarball":"http://registry-npm.ywwl.com/stylelint/download/stylelint-17.9.0.tgz","fileCount":351,"integrity":"sha512-xO0jeY6z1/urFL5L/BZLmB1yYlbRiRMQnYH6ArZIDWJ+SZXGssOY7XoYb1JIv/L220+EBnwwJXJS4Mt/F96SvA==","signatures":[{"sig":"MEUCIQCdZxoxrnClOVbTaqdCLGfwSw29C+NIwoMluClIMaB9YQIgOBxTNx/eDpbM03vm7l5B/I03CLlc8O80I+sKy1AlYs8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/stylelint@17.9.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":930184,"size":196969,"noattachment":false,"key":"/stylelint/-/stylelint-17.9.0.tgz"},"jest":{"roots":["lib","system-tests"],"preset":"jest-preset-stylelint","testRegex":".*\\.test\\.mjs$|rules/.*/__tests__/.*\\.mjs$","clearMocks":true,"setupFiles":["<rootDir>/jest.setup.mjs"],"watchPlugins":["jest-watch-typeahead/filename","jest-watch-typeahead/testname"],"collectCoverage":false,"testEnvironment":"node","coverageProvider":"v8","coverageDirectory":"./.coverage/","coverageReporters":["lcov","text-summary"],"coverageThreshold":{"global":{"lines":90,"branches":90,"functions":90,"statements":90}},"setupFilesAfterEnv":["<rootDir>/jest.setupAfterEnv.mjs"],"collectCoverageFrom":["lib/**/*.{js,mjs}","!lib/**/{__tests__,testUtils}/**/*.{js,mjs}"],"testPathIgnorePatterns":["/node_modules/","/system-tests/006/"]},"engines":{"node":">=20.19.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":"cee404b4519dfe5e82151323733adf86a08ddd87","scripts":{"lint":"npm-run-all --parallel --continue-on-error lint:*","test":"npm-run-all --sequential test-jest test-node","watch":"npm run test-jest --ignore-scripts -- --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","pretest":"npm run lint","benchmark":"node scripts/benchmarking/run-system.mjs","changeset":"changeset version && node .changeset/rewrite-changelog.mjs CHANGELOG.md","test-jest":"node --experimental-vm-modules node_modules/jest/bin/jest.js","test-node":"node --test lib/__tests__/require.test.cjs system-tests/005/commonjs.test.cjs system-tests/006/yarn-pnp.test.mjs","test-only":"npm run test-jest --ignore-scripts","lint:types":"tsc","postprepare":"patch-package","postchangeset":"npm install --ignore-scripts","test-coverage":"npm run test-jest --ignore-scripts -- --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","trustedPublisher":{"id":"github","oidcConfigId":"oidc:07d59949-8ae1-4010-9759-491022239050"}},"prettier":"@stylelint/prettier-config","repository":{"url":"git+https://github.com/stylelint/stylelint.git","type":"git"},"_npmVersion":"11.13.0","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":"24.15.0","dependencies":{"meow":"^14.1.0","debug":"^4.4.3","table":"^6.9.0","colord":"^2.9.3","globby":"^16.2.0","ignore":"^7.0.5","postcss":"^8.5.9","css-tree":"^3.2.1","globjoin":"^0.1.4","svg-tags":"^1.0.0","fast-glob":"^3.3.3","html-tags":"^5.1.0","micromatch":"^4.0.8","picocolors":"^1.1.1","cosmiconfig":"^9.0.1","string-width":"^8.2.0","global-modules":"^2.0.0","normalize-path":"^3.0.0","is-plain-object":"^5.0.0","file-entry-cache":"^11.1.2","mathml-tag-names":"^4.0.0","write-file-atomic":"^7.0.1","@csstools/css-calc":"^3.2.0","css-functions-list":"^3.3.3","fastest-levenshtein":"^1.0.16","import-meta-resolve":"^4.2.0","postcss-safe-parser":"^7.0.1","supports-hyperlinks":"^4.4.0","postcss-value-parser":"^4.2.0","@csstools/css-tokenizer":"^4.0.0","postcss-selector-parser":"^7.1.1","@csstools/selector-specificity":"^6.0.0","@csstools/css-parser-algorithms":"^4.0.0","@csstools/media-query-list-parser":"^5.0.0","@csstools/selector-resolve-nested":"^4.0.0","@csstools/css-syntax-patches-for-csstree":"^1.1.3"},"remarkConfig":{"plugins":["@stylelint/remark-preset","./scripts/remark-plugins/lint-link-to-rule.mjs"]},"_hasShrinkwrap":false,"devDependencies":{"jest":"^30.3.0","eslint":"^10.2.0","sugarss":"^5.0.1","pidusage":"^4.0.1","prettier":"^3.8.3","benchmark":"^2.1.4","deepmerge":"^4.3.1","lz-string":"^1.5.0","remark-cli":"^12.0.1","typescript":"^6.0.2","common-tags":"^1.8.2","lint-staged":"^16.4.0","npm-run-all":"^4.1.5","@types/debug":"^4.1.13","postcss-html":"^1.8.1","postcss-less":"^6.0.0","postcss-sass":"^0.5.0","postcss-scss":"^4.0.9","@jest/globals":"^30.3.0","patch-package":"^8.0.1","postcss-import":"^16.1.1","@changesets/cli":"^2.30.0","@types/css-tree":"^2.3.11","@types/globjoin":"^0.1.2","@types/svg-tags":"^1.0.2","@types/micromatch":"^4.0.10","eslint-plugin-jest":"^29.15.2","@types/postcss-less":"^4.0.7","jest-watch-typeahead":"^3.0.1","@types/global-modules":"^2.0.2","@types/normalize-path":"^3.0.2","jest-preset-stylelint":"^9.1.0","eslint-config-stylelint":"^27.0.0","@stylelint/remark-preset":"^5.1.1","@types/write-file-atomic":"^4.0.3","@stylelint/prettier-config":"^4.0.0","@types/postcss-safe-parser":"^5.0.4","@changesets/get-github-info":"^0.8.0","@vscode/windows-process-tree":"^0.7.0"},"_npmOperationalInternal":{"tmp":"tmp/stylelint_17.9.0_1776927149695_0.8880814436438316","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 **100 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 **15k 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 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- 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":1776927149896,"_cnpm_publish_time":1776927149896,"dist-tags":{"latest":"18.0.0"}}