{"name":"@stylistic/stylelint-plugin","version":"6.0.0-alpha.0","keywords":["codeguide","css","csslint","formatting","lint","linter","stylelint","stylelint-plugin","stylistic"],"author":{"name":"Sergey Artemov","email":"firefoxic.dev@gmail.com"},"license":"MIT","_id":"@stylistic/stylelint-plugin@6.0.0-alpha.0","maintainers":[{"name":"firefoxic","email":"firefoxic.dev@gmail.com"}],"homepage":"https://stylelint-stylistic.github.io/","bugs":{"url":"https://github.com/stylelint-stylistic/stylelint-stylistic/issues"},"dist":{"shasum":"cd6f76a6059b9f09dc5d87cf76b209861a705aef","tarball":"http://registry-npm.ywwl.com/@stylistic/stylelint-plugin/download/@stylistic/stylelint-plugin-6.0.0-alpha.0.tgz","fileCount":631,"integrity":"sha512-Jp9RlfF8sKYY11FpO1jN0SIXOlqwLqS1j78FGFTbIPaHqqWGGzmWQF8dJArgqy5oDcrzP4+wRyBCOonvyjcgvQ==","signatures":[{"sig":"MEUCIHRnvi9adkjKOq+Mvby1mpIpTsY/Lrj9hl0e83jHsMnAAiEA+5wKQjkMjvDfGCZf7fLuUngrJMWhEk+tv3Jq9YEQt9Y=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCID9Ve3YTOIT7+EwesWdHkthyyNEydh+PuTCCfZlU8XNQAiEAnWdOu4Hht2t+uvnjE+AzPPpYjPOfG9pqbFr25q0/U3g=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@stylistic%2fstylelint-plugin@6.0.0-alpha.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2009140,"size":456337,"noattachment":false,"key":"/@stylistic/stylelint-plugin/-/@stylistic/stylelint-plugin-6.0.0-alpha.0.tgz"},"type":"module","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./recommended":{"types":"./dist/configs/recommended.d.ts","default":"./dist/configs/recommended.js"},"./package.json":"./package.json"},"scripts":{"help":"make help"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"600da7a2-29fb-4843-b17c-a26d0dd92fbe"}},"deprecated":"Please upgrade to v5 or later.","devEngines":{"runtime":{"name":"node","onFail":"download","version":">=26.12"},"packageManager":{"name":"pnpm","onFail":"download","version":">=12.14"}},"repository":{"url":"git+https://github.com/stylelint-stylistic/stylelint-stylistic.git","type":"git"},"description":"A collection of stylistic/formatting Stylelint rules","directories":{},"dependencies":{"postcss":"^8.5.31","style-search":"^0.1.0","postcss-value-parser":"^4.2.0","@csstools/css-tokenizer":"^4.0.2","postcss-selector-parser":"^7.1.6","@csstools/css-parser-algorithms":"^4.0.2","@csstools/media-query-list-parser":"^5.0.2"},"_hasShrinkwrap":false,"devDependencies":{"vue":"^3","oxlint":"^1","vitest":"^5","stylelint":"github:stylelint/stylelint#v18","vitepress":"next","typescript":"^7","@types/node":"^26","postcss-html":"^2","postcss-less":"^6","postcss-scss":"^4","@vitest/coverage-v8":"^5","postcss-styled-syntax":"~0.7","@firefoxic/oxlint-config":"~0.5","@firefoxic/beautypography":"~0.2","@fontsource-variable/geist":"^5","@fontsource-variable/geist-mono":"^5","@morev/stylelint-testing-library":"^1"},"peerDependencies":{"stylelint":"^17.15.0"},"_npmOperationalInternal":{"tmp":"tmp/stylelint-plugin_6.0.0-alpha.0_1792440554335_0.16846960748561624","host":"s3://npm-registry-packages-npm-production"},"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[![Support the project][support-image]][support-url]\n\nAn updatable collection of stylistic rules for [Stylelint](https://github.com/stylelint/stylelint) (in plugin form).\n\n[Stylelint has removed dozens of rules](https://stylelint.io/migration-guide/to-16#removed-deprecated-stylistic-rules) that enforce stylistic conventions. This project brought them back to keep styles consistent with your codeguide, and it has not stopped there: the list grows with rules of its own, so it is a collection rather than a fixed set.\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\n> [!IMPORTANT]\n> Install a published version. The repository carries no built `dist/`, so a dependency named by a Git reference does **not** work.\n\nThe quickest way in is the recommended preset, which sets every rule of the plugin that has an answer the same for every project. Create `stylelint.config.mjs` (or open your existing configuration) and extend it by the package's `recommended` subpath, beside whatever else you extend:\n\n```js\nexport default {\n\textends: [\"@stylistic/stylelint-plugin/recommended\"],\n}\n```\n\nA setting of your own in `rules` wins over the preset's. What the preset sets, how it reads SCSS and Less, and which rules it leaves to you is in [Configs](https://stylelint-stylistic.github.io/user-guide/configs).\n\nTo choose every setting yourself instead, add `@stylistic/stylelint-plugin` to the plugins array and the rules you need to the rules list. [All rules from `@stylistic/stylelint-plugin`](https://stylelint-stylistic.github.io/user-guide/rules) need to be namespaced with `@stylistic/`. That prefix is the whole difference — an unprefixed name in the rules list is a rule of Stylelint's own, a prefixed one is a rule of this plugin:\n\n```js\nexport default {\n\tplugins: [\"@stylistic/stylelint-plugin\"],\n\trules: {\n\t\t\"color-function-notation\": \"modern\",\n\t\t\"selector-max-compound-selectors\": 2,\n\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\nA stylesheet written in SCSS or Less, or embedded in JavaScript as a styled template, is read by the same rules under a namespace of its own: see [Custom syntaxes](https://stylelint-stylistic.github.io/user-guide/custom-syntaxes). The rules can also be named by their short names, with the editor completing and checking them: see [Typed configuration](https://stylelint-stylistic.github.io/user-guide/typed-configuration).\n\n## Documentation\n\n- [Why?](https://stylelint-stylistic.github.io/user-guide/why)\n- [Getting started](https://stylelint-stylistic.github.io/user-guide/getting-started)\n- [Configs](https://stylelint-stylistic.github.io/user-guide/configs)\n- [Rule list](https://stylelint-stylistic.github.io/user-guide/rules)\n- [Custom syntaxes](https://stylelint-stylistic.github.io/user-guide/custom-syntaxes)\n- [Typed configuration](https://stylelint-stylistic.github.io/user-guide/typed-configuration)\n- [Conflicting settings](https://stylelint-stylistic.github.io/user-guide/conflicting-settings)\n- [Contributing](https://stylelint-stylistic.github.io/contributing)\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[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://stylelint-stylistic.github.io/changelog\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\n[support-url]: https://pay.payora.money/l/stylelint-stylistic\n[support-image]: https://img.shields.io/badge/Support%20the%20project-❤️-pink\n","publish_time":1792440554448,"_cnpm_publish_time":1792440554448,"dist-tags":{"alpha":"6.0.0-alpha.1","latest":"6.0.1","next":"6.0.0-next.0"}}