{"_id":"@almacareer/stylelint-config","_rev":"7-9bb302c83799467d4e54d3b240d62503","name":"@almacareer/stylelint-config","dist-tags":{"latest":"9.1.3"},"versions":{"9.0.0":{"name":"@almacareer/stylelint-config","version":"9.0.0","keywords":["stylelint","config","alma","career","preset"],"author":{"name":"Tomáš Litera","email":"tomas.litera@lmc.eu"},"license":"MIT","_id":"@almacareer/stylelint-config@9.0.0","maintainers":[{"name":"literat","email":"tomaslitera@hotmail.com"}],"homepage":"https://github.com/lmc-eu/code-quality-tools#readme","bugs":{"url":"https://github.com/lmc-eu/code-quality-tools/issues"},"dist":{"shasum":"0ecd98da6ed0fd29c713311b66e21ecc63db5693","tarball":"https://registry.npmjs.org/@almacareer/stylelint-config/-/stylelint-config-9.0.0.tgz","fileCount":7,"integrity":"sha512-6F3dr9XFeFZ72Lmgga/rXgFLT+yE/o6DcCBDuB5joMFNdi72eOEiFWqcfNylbi7bTdb+FpMxKSLO1yz9e6Y/KQ==","signatures":[{"sig":"MEQCIEFG+8G30UGlCTUc801A3k2ESnmRSho1e4A1PyWFIDNlAiAIXixIImTlPN+LVJLaZTtA+VGnwXlOffD/AdYpZ7HX+w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20309},"main":"index.js","type":"module","engines":{"node":"^18.12.0 || >=20"},"exports":{".":{"import":{"default":"./index.js"}},"./package.json":"./package.json"},"gitHead":"b89d961ff36a6113bc5dfac814173354c58da1cf","scripts":{"lint":"yarn lint:css","test":"npm-run-all --serial lint test:unit","lint:css":"npm-run-all --serial lint:css:main lint:css:order lint:css:scss","test:unit":"node --test","lint:css:main":"stylelint --config index.js __tests__/__fixtures__/css-valid.css","lint:css:scss":"stylelint --config rules/scss.js __tests__/__fixtures__/scss-valid.scss","lint:css:order":"stylelint --config rules/order.js __tests__/__fixtures__/css-valid.css"},"_npmUser":{"name":"literat","email":"tomaslitera@hotmail.com"},"repository":{"url":"git+https://github.com/lmc-eu/code-quality-tools.git","type":"git","directory":"packages/stylelint-config"},"_npmVersion":"lerna/8.1.3/node@v18.20.4+x64 (linux)","description":"Alma Career's config for Stylelint","directories":{},"_nodeVersion":"18.20.4","dependencies":{"postcss-scss":"^4.0.3","stylelint-order":"^6.0.0","stylelint-config-standard-scss":"^13.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"stylelint":"^16.0.0","npm-run-all2":"^6.2.2"},"peerDependencies":{"stylelint":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/stylelint-config_9.0.0_1723035046249_0.6518127741064521","host":"s3://npm-registry-packages"}},"9.0.1":{"name":"@almacareer/stylelint-config","version":"9.0.1","keywords":["stylelint","config","alma","career","preset"],"author":"Tomáš Litera <tomas.litera@lmc.eu>","license":"MIT","_id":"@almacareer/stylelint-config@9.0.1","maintainers":[{"name":"literat","email":"tomaslitera@hotmail.com"}],"dist":{"shasum":"773e680834dc8af83b06f929e437228a13bdfe59","tarball":"https://registry.npmjs.org/@almacareer/stylelint-config/-/stylelint-config-9.0.1.tgz","fileCount":7,"integrity":"sha512-D7/oTdZU6lPW0CuxXgJu1sVU+JQsdn/3EKsvIztZq4kBSvhYOqumIDy+DMi1jBFC2LCjj8gKTjhe3w3Jsuslrw==","signatures":[{"sig":"MEQCIARCXNECZyDeAZUyd1ZJcUnVOgT1jdcRq7dTUr9GKYHmAiBVvrhQemUk1T2Y/gLB73wu/3NaSWvFCUMbhoxK4vvIHw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20307},"main":"index.js","type":"module","engines":{"node":"^18.12.0 || >=20"},"exports":{".":{"import":{"default":"./index.js"}},"./package.json":"./package.json"},"gitHead":"7fb00322facb71f55fb75cd5e6ae37c6f0451709","scripts":{"lint":"yarn lint:css","test":"npm-run-all --serial lint test:unit","lint:css":"npm-run-all --serial lint:css:main lint:css:order lint:css:scss","test:unit":"node --test","lint:css:main":"stylelint --config index.js __tests__/__fixtures__/css-valid.css","lint:css:scss":"stylelint --config rules/scss.js __tests__/__fixtures__/scss-valid.scss","lint:css:order":"stylelint --config rules/order.js __tests__/__fixtures__/css-valid.css"},"_npmUser":{"name":"literat","email":"tomaslitera@hotmail.com"},"repository":{"url":"https://github.com/lmc-eu/code-quality-tools","type":"git","directory":"packages/stylelint-config"},"_npmVersion":"lerna/8.1.8/node@v18.20.4+x64 (linux)","description":"Alma Career's config for Stylelint","directories":{},"_nodeVersion":"18.20.4","dependencies":{"postcss-scss":"^4.0.3","stylelint-order":"^6.0.0","stylelint-config-standard-scss":"^13.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"stylelint":"16.8.2","npm-run-all2":"6.2.2"},"peerDependencies":{"stylelint":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/stylelint-config_9.0.1_1724268569159_0.0811019515009197","host":"s3://npm-registry-packages"}},"9.1.0":{"name":"@almacareer/stylelint-config","version":"9.1.0","keywords":["stylelint","config","alma","career","preset"],"author":"Tomáš Litera <tomas.litera@lmc.eu>","license":"MIT","_id":"@almacareer/stylelint-config@9.1.0","maintainers":[{"name":"ondram","email":"ondrej.machulda@gmail.com"},{"name":"literat","email":"tomaslitera@hotmail.com"}],"dist":{"shasum":"11cfe6256d72f5ec73739fea77ddf67b32d42d15","tarball":"https://registry.npmjs.org/@almacareer/stylelint-config/-/stylelint-config-9.1.0.tgz","fileCount":7,"integrity":"sha512-nKEeQyTyWI3lqLGH1SHTlRbKDr38gtxiIrr5fKShEGc0yzzH8UL25Is42Z/gEwN36Vs5L/bRSva89W9LLekkMQ==","signatures":[{"sig":"MEUCIQCPK4RZmVnqoDf/DeA4OcXJ+RdZBFsN5DnGQ75KutNtmAIge+jLI5k10ibAB06WBU0FRqJXjO7JMNu6ObOr503Jz9w=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":25061},"main":"index.js","type":"module","engines":{"node":"^18.12.0 || >=20"},"exports":{".":{"import":{"default":"./index.js"}},"./package.json":"./package.json"},"gitHead":"d60a333a00598de3ac59f112e8aeb01da61994b2","scripts":{"lint":"yarn lint:css","test":"npm-run-all --serial lint test:unit","lint:css":"npm-run-all --serial lint:css:main lint:css:order lint:css:scss","test:unit":"node --test","lint:css:main":"stylelint --config index.js __tests__/__fixtures__/css-valid.css","lint:css:scss":"stylelint --config rules/scss.js __tests__/__fixtures__/scss-valid.scss","lint:css:order":"stylelint --config rules/order.js __tests__/__fixtures__/css-valid.css"},"_npmUser":{"name":"literat","email":"tomaslitera@hotmail.com"},"repository":{"url":"https://github.com/lmc-eu/code-quality-tools","type":"git","directory":"packages/stylelint-config"},"_npmVersion":"lerna/8.2.0/node@v18.20.7+x64 (linux)","description":"Alma Career's config for Stylelint","directories":{},"_nodeVersion":"18.20.7","dependencies":{"postcss-scss":"^4.0.3","stylelint-order":"^6.0.0","stylelint-config-standard-scss":"^13.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"stylelint":"16.14.1","npm-run-all2":"7.0.2"},"peerDependencies":{"stylelint":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/stylelint-config_9.1.0_1740640742682_0.9934401670707458","host":"s3://npm-registry-packages-npm-production"}},"9.1.3":{"name":"@almacareer/stylelint-config","version":"9.1.3","description":"Alma Career's config for Stylelint","keywords":["stylelint","config","alma","career","preset"],"author":{"name":"Tomáš Litera","email":"tomas.litera@lmc.eu"},"license":"MIT","type":"module","main":"index.js","exports":{".":"./index.js","./package.json":"./package.json"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/lmc-eu/code-quality-tools.git","directory":"packages/stylelint-config"},"engines":{"node":"^18.12.0 || >=20"},"scripts":{"lint":"yarn lint:css","lint:css":"npm-run-all --serial lint:css:main lint:css:order lint:css:scss","lint:css:main":"stylelint --config index.js __tests__/__fixtures__/css-valid.css","lint:css:order":"stylelint --config rules/order.js __tests__/__fixtures__/css-valid.css","lint:css:scss":"stylelint --config rules/scss.js __tests__/__fixtures__/scss-valid.scss","test":"npm-run-all --serial lint test:unit","test:unit":"node --test"},"dependencies":{"postcss-scss":"^4.0.3","stylelint-config-standard-scss":"^13.0.0","stylelint-order":"^6.0.0"},"devDependencies":{"npm-run-all2":"8.0.4","stylelint":"16.23.1"},"peerDependencies":{"stylelint":"^16.0.0"},"gitHead":"5cdd7b8ee8a9dcc484264f49627a773c38edba94","_id":"@almacareer/stylelint-config@9.1.3","bugs":{"url":"https://github.com/lmc-eu/code-quality-tools/issues"},"homepage":"https://github.com/lmc-eu/code-quality-tools#readme","_nodeVersion":"20.19.4","_npmVersion":"lerna/9.0.5/node@v20.19.4+arm64 (darwin)","dist":{"integrity":"sha512-8hYIqZ5xdCIOCTkkXCUPwwhjD7nwJYwK51jN3g0HiuFqPoPIFBilzOEkz6TdHJsW936b9PTjmHupRl1ncb6VWQ==","shasum":"4717f20512c7cf347ea38312e2bee60964012a3c","tarball":"https://registry.npmjs.org/@almacareer/stylelint-config/-/stylelint-config-9.1.3.tgz","fileCount":7,"unpackedSize":25008,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIE/+9pR8/HaejJaWRP/KOTBWxoc8ycb4cvDTLTnUl3biAiAREoOyD4Ful0cEDNCACKsrp/EfpSy8BRRAZ21Gzd45qQ=="}]},"_npmUser":{"name":"literat","email":"tomaslitera@hotmail.com"},"directories":{},"maintainers":[{"name":"literat","email":"tomaslitera@hotmail.com"},{"name":"mortalflesh","email":"mortal_flesh@seznam.cz"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/stylelint-config_9.1.3_1773817922488_0.0578399710483779"},"_hasShrinkwrap":false}},"time":{"created":"2024-08-07T12:50:46.104Z","modified":"2026-03-18T07:12:02.786Z","9.0.0":"2024-08-07T12:50:46.408Z","9.0.1":"2024-08-21T19:29:29.365Z","9.1.0":"2025-02-27T07:19:02.856Z","9.1.3":"2026-03-18T07:12:02.631Z"},"author":{"name":"Tomáš Litera","email":"tomas.litera@lmc.eu"},"license":"MIT","keywords":["stylelint","config","alma","career","preset"],"repository":{"type":"git","url":"git+https://github.com/lmc-eu/code-quality-tools.git","directory":"packages/stylelint-config"},"description":"Alma Career's config for Stylelint","maintainers":[{"name":"literat","email":"tomaslitera@hotmail.com"},{"name":"mortalflesh","email":"mortal_flesh@seznam.cz"}],"readme":"# `@almacareer/stylelint-config`\n\n[![npm version](https://img.shields.io/npm/v/@almacareer/stylelint-config?label=npm%20package&logo=npm)](https://www.npmjs.org/package/@almacareer/stylelint-config)\n[![Node version](https://img.shields.io/node/v/@almacareer/stylelint-config.svg?style=flat&logo=nodedotjs)](http://nodejs.org/download/)\n[![Stylelint version](https://img.shields.io/npm/dependency-version/@almacareer/stylelint-config/peer/stylelint?logo=stylelint)](https://github.com/stylelint/stylelint)\n\n> Alma Career’s config for Stylelint\n\n## Usage\n\n```bash\n# Yarn:\nyarn add --dev @almacareer/stylelint-config stylelint-prettier\n\n# npm:\nnpm install --save-dev @almacareer/stylelint-config stylelint-prettier\n```\n\n> We assume you are using Prettier. That’s why we also recommend adding\n> `stylelint-prettier` above.\n\nConfiguration extends community maintained config [stylelint-config-standard-scss](https://github.com/stylelint-scss/stylelint-config-standard-scss).\n\nThis config:\n\n- Extends the [`stylelint-config-recommended` shared config](https://github.com/stylelint/stylelint-config-recommended) and configures its rules for SCSS;\n- extends the [`stylelint-config-recommended-scss` shared config](https://github.com/stylelint-scss/stylelint-config-recommended-scss) and configures its rules for SCSS;\n- extends the [`stylelint-config-standard` shared config](https://github.com/stylelint/stylelint-config-standard) and configures its rules.\n\n## Configuration\n\n- **`@almacareer/stylelint-config`**\n\nUse this ruleset to configure Stylelint to work with your code.\n\n## Recommended Stylelint Configuration\n\n```js\n// .stylelintrc.mjs\n\nexport default {\n  extends: ['@almacareer/stylelint-config', 'stylelint-prettier/recommended'],\n};\n```\n\n<details>\n<summary><i>.stylelintrc</i> or <i>.stylelintrc.json</i></summary>\n\n```json\n{\n  \"extends\": [\"@almacareer/stylelint-config\", \"stylelint-prettier/recommended\"]\n}\n```\n\n</details>\n\n<details>\n<summary><i>package.json</i></summary>\n\n```json\n{\n  \"stylelint\": {\n    \"extends\": [\"@almacareer/stylelint-config\", \"stylelint-prettier/recommended\"]\n  }\n}\n```\n\n</details>\n\n## Checking Properties Order\n\nTo further extend control over coding style of your stylesheets, we are also\nchecking for properties order.\n\nThe `order` config enforces a consistent order of content in your declaration blocks:\n\n1. Sass variables,\n2. CSS custom properties,\n3. Sass `@extend`,\n4. single-line Sass `@include`,\n5. declarations,\n6. nested rules,\n\nFor better flexibility, block at-rules (like `@media`, `@supports`, and also Sass `@if`, `@each`, etc.) can be placed\nanywhere in the declaration block.\n\nBesides, properties in the declarations must be ordered by following categories:\n\n1. `all` properties,\n2. `content`,\n3. position,\n4. `appearance`,\n5. box model,\n6. typography,\n7. decorations,\n8. effects and transforms,\n9. interactions,\n10. transitions and animations.\n\n👉 To see the order of individual properties this config prescribes, please read\nthe [`order` config itself](./rules/order.js).\n\n## Stylistic Rules\n\nStylistic rules (like indentation etc.) [were dropped][stylelint-v16-stylistic-rules]\nin Stylelint v16. To enforce them, you can use\n[`stylelint-prettier`][stylelint-prettier]:\n\n```json\n// `.stylelintrc`\n{\n  \"plugins\": [\"stylelint-prettier\"],\n  \"rules\": {\n    \"prettier/prettier\": true\n  }\n}\n```\n\n## FAQ\n\n<details>\n<summary>How do I change the indentation?</summary>\n### With Prettier\n\nIf using Prettier, you can configure the indentation in your Prettier config:\n\n```json\n{\n  \"tabWidth\": 2\n}\n```\n\nOr in your [`.editorconfig`][editorconfig]:\n\n```ini\n[*]\nindent_size = 2\n```\n\n👉 See [Prettier][prettier] documentation for more options.\n\n</details>\n\n[prettier]: https://prettier.io\n[stylelint-v16-stylistic-rules]: https://stylelint.io/migration-guide/to-16/#removed-deprecated-stylistic-rules\n[stylelint-prettier]: https://github.com/prettier/stylelint-prettier\n","readmeFilename":"README.md","homepage":"https://github.com/lmc-eu/code-quality-tools#readme","bugs":{"url":"https://github.com/lmc-eu/code-quality-tools/issues"}}