{"name":"stylelint","version":"16.16.0","description":"A mighty CSS linter that helps you avoid errors and enforce conventions.","keywords":["css-in-js","css","less","lint","linter","markdown","sass","scss","stylelint","sugarss"],"homepage":"https://stylelint.io","repository":{"type":"git","url":"git+https://github.com/stylelint/stylelint.git"},"funding":[{"type":"opencollective","url":"https://opencollective.com/stylelint"},{"type":"github","url":"https://github.com/sponsors/stylelint"}],"license":"MIT","author":{"name":"stylelint"},"exports":{".":{"import":{"types":"./types/stylelint/index.d.mts","default":"./lib/index.mjs"},"require":{"types":"./types/stylelint/index.d.ts","default":"./lib/index.cjs"}},"./package.json":"./package.json","./lib/utils/*":"./lib/utils/*"},"main":"lib/index.cjs","types":"types/stylelint/index.d.ts","bin":{"stylelint":"bin/stylelint.mjs"},"scripts":{"benchmark-rule":"node scripts/benchmark-rule.mjs","build":"rollup -c","build-check":"node scripts/build-check.mjs","format":"prettier . --write --cache","lint":"npm-run-all --parallel --continue-on-error lint:*","lint:formatting":"prettier . --check --cache","lint:js":"eslint . --cache --max-warnings=0","lint:md":"remark . --quiet --frail","lint:types":"tsc","prepare":"husky && npm run build","postprepare":"patch-package","release":"np --no-release-draft","pretest":"npm run lint","test":"node --experimental-vm-modules node_modules/jest/bin/jest.js","test-coverage":"npm test --ignore-scripts -- --coverage","test-only":"npm test --ignore-scripts","watch":"npm test --ignore-scripts -- --watch","changeset":"changeset version && node .changeset/rewrite-changelog.mjs CHANGELOG.md && git restore package.json"},"lint-staged":{"*.{js,mjs}":"eslint --cache --fix","*.{js,json,md,mjs,ts,yml}":"prettier --write"},"prettier":"@stylelint/prettier-config","remarkConfig":{"plugins":["@stylelint/remark-preset","./scripts/remark-plugins/lint-link-to-rule.mjs"]},"jest":{"clearMocks":true,"collectCoverage":false,"collectCoverageFrom":["lib/**/*.{js,mjs}","!lib/**/{__tests__,testUtils}/**/*.{js,mjs}"],"coverageDirectory":"./.coverage/","coverageProvider":"v8","coverageReporters":["lcov","text-summary"],"coverageThreshold":{"global":{"branches":90,"functions":90,"lines":90,"statements":90}},"preset":"jest-preset-stylelint","roots":["lib","system-tests"],"setupFiles":["<rootDir>/jest.setup.mjs"],"setupFilesAfterEnv":["<rootDir>/jest.setupAfterEnv.mjs"],"testEnvironment":"node","testRegex":".*\\.test\\.mjs$|rules/.*/__tests__/.*\\.mjs$|system-tests/.*\\.test\\.cjs$","watchPlugins":["jest-watch-typeahead/filename","jest-watch-typeahead/testname"]},"dependencies":{"@csstools/css-parser-algorithms":"^3.0.4","@csstools/css-tokenizer":"^3.0.3","@csstools/media-query-list-parser":"^4.0.2","@csstools/selector-specificity":"^5.0.0","@dual-bundle/import-meta-resolve":"^4.1.0","balanced-match":"^2.0.0","colord":"^2.9.3","cosmiconfig":"^9.0.0","css-functions-list":"^3.2.3","css-tree":"^3.1.0","debug":"^4.3.7","fast-glob":"^3.3.3","fastest-levenshtein":"^1.0.16","file-entry-cache":"^10.0.7","global-modules":"^2.0.0","globby":"^11.1.0","globjoin":"^0.1.4","html-tags":"^3.3.1","ignore":"^7.0.3","imurmurhash":"^0.1.4","is-plain-object":"^5.0.0","known-css-properties":"^0.35.0","mathml-tag-names":"^2.1.3","meow":"^13.2.0","micromatch":"^4.0.8","normalize-path":"^3.0.0","picocolors":"^1.1.1","postcss":"^8.5.3","postcss-resolve-nested-selector":"^0.1.6","postcss-safe-parser":"^7.0.1","postcss-selector-parser":"^7.1.0","postcss-value-parser":"^4.2.0","resolve-from":"^5.0.0","string-width":"^4.2.3","supports-hyperlinks":"^3.2.0","svg-tags":"^1.0.0","table":"^6.9.0","write-file-atomic":"^5.0.1"},"devDependencies":{"@changesets/cli":"^2.28.1","@changesets/get-github-info":"^0.6.0","@jest/globals":"^29.7.0","@stylelint/prettier-config":"^3.0.0","@stylelint/remark-preset":"^5.1.1","@types/balanced-match":"^1.0.4","@types/css-tree":"^2.3.10","@types/debug":"^4.1.12","@types/file-entry-cache":"^5.0.4","@types/global-modules":"^2.0.2","@types/globjoin":"^0.1.2","@types/imurmurhash":"^0.1.4","@types/micromatch":"^4.0.9","@types/normalize-path":"^3.0.2","@types/postcss-less":"^4.0.6","@types/postcss-resolve-nested-selector":"^0.1.3","@types/postcss-safe-parser":"^5.0.4","@types/svg-tags":"^1.0.2","@types/write-file-atomic":"^4.0.3","benchmark":"^2.1.4","common-tags":"^1.8.2","deepmerge":"^4.3.1","eslint":"^9.22.0","eslint-config-stylelint":"^23.0.0","eslint-plugin-import":"^2.31.0","eslint-plugin-jest":"^28.11.0","husky":"^9.1.7","jest":"^29.7.0","jest-preset-stylelint":"^7.2.0","jest-watch-typeahead":"^2.2.2","lint-staged":"^15.4.3","lz-string":"^1.5.0","np":"^10.2.0","npm-run-all":"^4.1.5","patch-package":"^8.0.0","postcss-html":"^1.8.0","postcss-import":"^16.1.0","postcss-less":"^6.0.0","postcss-sass":"^0.5.0","postcss-scss":"^4.0.9","prettier":"^3.5.3","remark-cli":"^12.0.1","rollup":"^4.35.0","sugarss":"^5.0.0","typescript":"^5.8.2"},"engines":{"node":">=18.12.0"},"_id":"stylelint@16.16.0","gitHead":"e35e3b91a66f8c237f92cee1684374e943f1947d","bugs":{"url":"https://github.com/stylelint/stylelint/issues"},"_nodeVersion":"22.14.0","_npmVersion":"11.1.0","dist":{"integrity":"sha512-40X5UOb/0CEFnZVEHyN260HlSSUxPES+arrUphOumGWgXERHfwCD0kNBVILgQSij8iliYVwlc0V7M5bcLP9vPg==","shasum":"ebecf27becd277aaf752e75de324023a1e13e486","tarball":"http://registry-npm.ywwl.com/stylelint/download/stylelint-16.16.0.tgz","fileCount":653,"unpackedSize":1611438,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCLQZ2Gp/DV/mdWUvPi/Zba4gkCqNZ3bz5/DP0cEK3xwgIhAJgVjpd7IoWX0g3vTeWVCzJyEUrWXaGfa2n5mvvVA+7B"}],"size":319158,"noattachment":false,"key":"/stylelint/-/stylelint-16.16.0.tgz"},"_npmUser":{"name":"jeddy3","email":"npm@richardhallows.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/stylelint_16.16.0_1741961010267_0.23298692121551978"},"_hasShrinkwrap":false,"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":1741961010658,"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":1741961010658,"dist-tags":{"latest":"18.0.0"}}