{"_id":"@stylistic/stylelint-plugin@5.3.1","bugs":{"url":"https://github.com/stylelint-stylistic/stylelint-stylistic/issues"},"dist":{"shasum":"420e851a33d0dbb0a7217d9154759e61348e26cb","tarball":"http://registry-npm.ywwl.com/@stylistic/stylelint-plugin/download/@stylistic/stylelint-plugin-5.3.1.tgz","fileCount":147,"integrity":"sha512-w6WFLYzQS6nhbcoq8pwYP+OJYYhsdGEiCxY+eINi2+ouDwRLXTucXZj6IrDzkY4di+vsGOPVvJ4/gXChSeOtlw==","signatures":[{"sig":"MEYCIQCbU/pwZ9yWEYckAQ7oiEGya+4522VFD2JBHLOAMuAGFgIhAKO5GsSR34x7q7JITWWuXUTLiaAx0i8soxVY2sf6Byt+","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDgrlBgwhO3WaQ4Ec4Ldoyw7LCZ2b86BRdCRR2xjTgPHgIhAPZNK6hS7rUitU0saKlkrEiIRroQvTnomHsInzLktIGf"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@stylistic%2fstylelint-plugin@5.3.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":361488,"size":64093,"noattachment":false,"key":"/@stylistic/stylelint-plugin/-/@stylistic/stylelint-plugin-5.3.1.tgz"},"name":"@stylistic/stylelint-plugin","type":"module","author":{"name":"Sergey Artemov","email":"firefoxic.dev@gmail.com"},"exports":"./lib/index.js","license":"MIT","scripts":{"help":"make help"},"version":"5.3.1","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"600da7a2-29fb-4843-b17c-a26d0dd92fbe"}},"homepage":"https://github.com/stylelint-stylistic/stylelint-stylistic#readme","keywords":["codeguide","css","csslint","formatting","lint","linter","stylelint","stylelint-plugin","stylistic"],"devEngines":{"runtime":{"name":"node","onFail":"download","version":">=26.7"},"packageManager":{"name":"pnpm","onFail":"download","version":">=11.20"}},"repository":{"url":"git+https://github.com/stylelint-stylistic/stylelint-stylistic.git","type":"git"},"description":"A collection of stylistic/formatting Stylelint rules","directories":{},"maintainers":[{"name":"firefoxic","email":"firefoxic.dev@gmail.com"}],"_nodeVersion":"26.0.0","dependencies":{"postcss":"^8.5.26","style-search":"^0.1.0","postcss-value-parser":"^4.2.0","@csstools/css-tokenizer":"^4.0.0","postcss-selector-parser":"^7.1.5","@csstools/css-parser-algorithms":"^4.0.0","@csstools/media-query-list-parser":"^5.0.0"},"_hasShrinkwrap":false,"devDependencies":{"node":"runtime:>=26.7","oxlint":"^1.77.0","vitest":"^4.1.10","stylelint":"^17.6.0","typescript":"^7.0.2","@types/node":"^26.2.0","postcss-html":"^2.0.0","postcss-less":"^6.0.0","postcss-scss":"^4.0.9","@vitest/coverage-v8":"4.1.10","postcss-styled-syntax":"^0.7.2","@firefoxic/oxlint-config":"^0.4.0","@morev/stylelint-testing-library":"^1.1.0"},"peerDependencies":{"stylelint":"^17.6.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/stylelint-plugin_5.3.1_1790689334676_0.06196540473552581"},"readme":"# Stylelint Stylistic\n\n[![License: MIT][license-image]][license-url]\n[![Changelog][changelog-image]][changelog-url]\n[![Test Status][test-image]][test-url]\n\nAn updatable collection of stylistic rules for [Stylelint](https://github.com/stylelint/stylelint) (in plugin form).\n\n## About and purpose\n\n[Stylelint has removed 76 rules](https://stylelint.io/migration-guide/to-16#removed-deprecated-stylistic-rules) that enforce stylistic conventions. This project returns these rules to keep styles consistent with your codeguide. In addition, new rules may be added in the future.\n\n## Installation and usage\n\nAdd `@stylistic/stylelint-plugin` and `stylelint` itself to your project:\n\n```shell\nnpm add -D stylelint @stylistic/stylelint-plugin\n```\n\nCreate the `.stylelintrc` config file (or open the existing one), add `@stylistic/stylelint-plugin` to the plugins array and the rules you need to the rules list. [All rules from `@stylistic/stylelint-plugin`](https://github.com/stylelint-stylistic/stylelint-stylistic/blob/main/docs/user-guide/rules.md) need to be namespaced with `@stylistic/`:\n\n```json\n{\n\t\"plugins\": [\n\t\t\"@stylistic/stylelint-plugin\"\n\t],\n\t\"rules\": {\n\t\t// syntax rules from stylelint:\n\t\t\"color-function-notation\": \"modern\",\n\t\t\"selector-max-compound-selectors\": 2,\n\n\t\t// stylistic rules from @stylistic/stylelint-plugin:\n\t\t\"@stylistic/color-hex-case\": \"lower\",\n\t\t\"@stylistic/number-leading-zero\": \"always\",\n\t\t\"@stylistic/unit-case\": \"lower\"\n\t}\n}\n```\n\nTo avoid listing a lot of rules, you can use [`@stylistic/stylelint-config`](https://www.npmjs.com/package/@stylistic/stylelint-config), which returns the stylistic rules removed in [`stylelint-config-standard`](https://github.com/stylelint/stylelint-config-standard/releases/tag/30.0.0) and [`stylelint-config-recommended`](https://github.com/stylelint/stylelint-config-recommended/releases/tag/10.0.1).\n\n---\n\nPlease refer to [Stylelint docs](https://stylelint.io/user-guide/get-started) for detailed info on using this linter.\n\n## Need more?\n\nESLint deprecates stylistic rules, too. But you can continue to use them thanks to [ESLint Stylistic](https://eslint.style).\n\n## Important documents\n\n- [Rule list](https://github.com/stylelint-stylistic/stylelint-stylistic/blob/main/docs/user-guide/rules.md)\n- [Contributing](https://github.com/stylelint-stylistic/stylelint-stylistic/blob/main/CONTRIBUTING.md)\n\n[license-url]: https://github.com/stylelint-stylistic/stylelint-stylistic/blob/main/LICENSE.md\n[license-image]: https://img.shields.io/badge/License-MIT-limegreen.svg\n\n[changelog-url]: https://github.com/stylelint-stylistic/stylelint-stylistic/blob/main/CHANGELOG.md\n[changelog-image]: https://img.shields.io/badge/Change-log-limegreen\n\n[test-url]: https://github.com/stylelint-stylistic/stylelint-stylistic/actions\n[test-image]: https://github.com/stylelint-stylistic/stylelint-stylistic/actions/workflows/test.yaml/badge.svg?branch=main\n","publish_time":1790689334767,"_cnpm_publish_time":1790689334767,"dist-tags":{"alpha":"6.0.0-alpha.1","latest":"6.0.1","next":"6.0.0-next.0"}}