{"name":"stylelint","version":"16.13.2","keywords":["css-in-js","css","less","lint","linter","markdown","sass","scss","stylelint","sugarss"],"author":{"name":"stylelint"},"license":"MIT","_id":"stylelint@16.13.2","homepage":"https://stylelint.io","bugs":{"url":"https://github.com/stylelint/stylelint/issues"},"bin":{"stylelint":"bin/stylelint.mjs"},"dist":{"shasum":"a0e8aab7cedde55f185ac8af6f526e53df783294","tarball":"http://registry-npm.ywwl.com/stylelint/download/stylelint-16.13.2.tgz","fileCount":643,"integrity":"sha512-wDlgh0mRO9RtSa3TdidqHd0nOG8MmUyVKl+dxA6C1j8aZRzpNeEgdhFmU5y4sZx4Fc6r46p0fI7p1vR5O2DZqA==","signatures":[{"sig":"MEUCIC2r8obx2UKGjX/wwR/XUpzIyWk3N7eMiui6x6FOoO+wAiEA7ZpOmPD+S5zLd9VdpxnHCy2Wlyx8vWrPem9A9VEAtPY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1571908,"size":310203,"noattachment":false,"key":"/stylelint/-/stylelint-16.13.2.tgz"},"jest":{"roots":["lib","system-tests"],"preset":"jest-preset-stylelint","testRegex":".*\\.test\\.mjs$|rules/.*/__tests__/.*\\.mjs$|system-tests/.*\\.test\\.cjs$","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}"]},"main":"lib/index.cjs","types":"types/stylelint/index.d.ts","engines":{"node":">=18.12.0"},"exports":{".":{"import":{"types":"./types/stylelint/index.d.mts","default":"./lib/index.mjs"},"require":{"types":"./types/stylelint/index.d.ts","default":"./lib/index.cjs"}},"./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":"8887d41c70da8c2d97f01b5d73f285c4dfa5dd25","scripts":{"lint":"npm-run-all --parallel --continue-on-error lint:*","test":"node --experimental-vm-modules node_modules/jest/bin/jest.js","build":"rollup -c","watch":"npm test --ignore-scripts -- --watch","format":"prettier . --write --cache","lint:js":"eslint . --cache --max-warnings=0","lint:md":"remark . --quiet --frail","prepare":"husky && npm run build","pretest":"npm run lint","release":"np --no-release-draft","changeset":"changeset version && node .changeset/rewrite-changelog.mjs CHANGELOG.md && git restore package.json","test-only":"npm test --ignore-scripts","lint:types":"tsc","build-check":"node scripts/build-check.mjs","postprepare":"patch-package","test-coverage":"npm test --ignore-scripts -- --coverage","benchmark-rule":"node scripts/benchmark-rule.mjs","lint:formatting":"prettier . --check --cache"},"_npmUser":{"name":"jeddy3","email":"npm@richardhallows.com"},"prettier":"@stylelint/prettier-config","repository":{"url":"git+https://github.com/stylelint/stylelint.git","type":"git"},"_npmVersion":"10.9.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":"22.11.0","dependencies":{"meow":"^13.2.0","debug":"^4.3.7","table":"^6.9.0","colord":"^2.9.3","globby":"^11.1.0","ignore":"^7.0.1","postcss":"^8.4.49","css-tree":"^3.1.0","globjoin":"^0.1.4","svg-tags":"^1.0.0","fast-glob":"^3.3.3","html-tags":"^3.3.1","micromatch":"^4.0.8","picocolors":"^1.1.1","cosmiconfig":"^9.0.0","imurmurhash":"^0.1.4","resolve-from":"^5.0.0","string-width":"^4.2.3","balanced-match":"^2.0.0","global-modules":"^2.0.0","normalize-path":"^3.0.0","is-plain-object":"^5.0.0","file-entry-cache":"^10.0.5","mathml-tag-names":"^2.1.3","write-file-atomic":"^5.0.1","css-functions-list":"^3.2.3","fastest-levenshtein":"^1.0.16","postcss-safe-parser":"^7.0.1","supports-hyperlinks":"^3.1.0","known-css-properties":"^0.35.0","postcss-value-parser":"^4.2.0","@csstools/css-tokenizer":"^3.0.3","postcss-selector-parser":"^7.0.0","@csstools/selector-specificity":"^5.0.0","@csstools/css-parser-algorithms":"^3.0.4","postcss-resolve-nested-selector":"^0.1.6","@dual-bundle/import-meta-resolve":"^4.1.0","@csstools/media-query-list-parser":"^4.0.2"},"remarkConfig":{"plugins":["@stylelint/remark-preset","./scripts/remark-plugins/lint-link-to-rule.mjs"]},"_hasShrinkwrap":false,"devDependencies":{"np":"^10.1.0","jest":"^29.7.0","husky":"^9.1.7","eslint":"^9.18.0","rollup":"^4.30.1","sugarss":"^5.0.0","prettier":"^3.4.2","benchmark":"^2.1.4","deepmerge":"^4.3.1","remark-cli":"^12.0.1","typescript":"^5.7.3","common-tags":"^1.8.2","lint-staged":"^15.3.0","npm-run-all":"^4.1.5","@types/debug":"^4.1.12","postcss-html":"^1.7.0","postcss-less":"^6.0.0","postcss-sass":"^0.5.0","postcss-scss":"^4.0.9","@jest/globals":"^29.7.0","patch-package":"^8.0.0","postcss-import":"^16.1.0","@changesets/cli":"^2.27.11","@types/css-tree":"^2.3.10","@types/globjoin":"^0.1.2","@types/svg-tags":"^1.0.2","@types/micromatch":"^4.0.9","@types/imurmurhash":"^0.1.4","eslint-plugin-jest":"^28.10.0","@types/postcss-less":"^4.0.6","eslint-plugin-import":"^2.31.0","jest-watch-typeahead":"^2.2.2","@types/balanced-match":"^1.0.4","@types/global-modules":"^2.0.2","@types/normalize-path":"^3.0.2","jest-preset-stylelint":"^7.1.1","@types/file-entry-cache":"^5.0.4","eslint-config-stylelint":"^23.0.0","@stylelint/remark-preset":"^5.1.1","@types/write-file-atomic":"^4.0.3","@stylelint/prettier-config":"^3.0.0","@types/postcss-safe-parser":"^5.0.4","@changesets/get-github-info":"^0.6.0","@types/postcss-resolve-nested-selector":"^0.1.3"},"_npmOperationalInternal":{"tmp":"tmp/stylelint_16.13.2_1736858629826_0.929257949220953","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[![Build Status](https://github.com/stylelint/stylelint/workflows/Testing/badge.svg)](https://github.com/stylelint/stylelint/actions/workflows/testing.yml?query=branch%3Amain)\n[![npm downloads](https://img.shields.io/npm/dm/stylelint)](https://npmcharts.com/compare/stylelint?minimal=true)\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 rules](docs/developer-guide/rules.md)\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  - [Writing system tests](docs/developer-guide/system-tests.md)\n- Migration guide\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- 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\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\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\nThank you to all our sponsors! [Become a sponsor](https://opencollective.com/stylelint).\n\n### Backers\n\n<object data=\"https://opencollective.com/stylelint/backers.svg?width=420&avatarHeight=48&button=false\" type=\"image/svg+xml\">\n  <img src=\"https://opencollective.com/stylelint/backers.svg?width=840&avatarHeight=48&button=false\" />\n</object>\n\nThank you to all our backers! [Become a backer](https://opencollective.com/stylelint).\n\n### Website hosting\n\n[![Deploys by Netlify](https://www.netlify.com/img/global/badges/netlify-color-accent.svg)](https://www.netlify.com)\n\n## License\n\n[The MIT License](https://raw.githubusercontent.com/stylelint/stylelint/main/LICENSE).\n","publish_time":1736858630127,"maintainers":[{"name":"jeddy3","email":"npm@richardhallows.com"},{"name":"hudochenkov","email":"aleks@hudochenkov.com"},{"name":"ntwb","email":"stephen@netweb.com.au"},{"name":"ota-meshi","email":"otameshiyo23@gmail.com"},{"name":"ybiquitous","email":"ybiquitous@gmail.com"},{"name":"mattxwang","email":"matt@matthewwang.me"},{"name":"romainmenke","email":"romainmenke@gmail.com"}],"_cnpm_publish_time":1736858630127,"dist-tags":{"latest":"18.0.0"}}