{"name":"stylelint-config-standard","version":"41.0.0","keywords":["stylelint","stylelint-config","standard"],"author":{"name":"Stylelint"},"license":"MIT","_id":"stylelint-config-standard@41.0.0","maintainers":[{"name":"jeddy3","email":"npm@richardhallows.com"},{"name":"ybiquitous","email":"ybiquitous@gmail.com"},{"name":"romainmenke","email":"romainmenke@gmail.com"},{"name":"ntwb","email":"stephen@netweb.com.au"}],"homepage":"https://github.com/stylelint/stylelint-config-standard#readme","bugs":{"url":"https://github.com/stylelint/stylelint-config-standard/issues"},"dist":{"shasum":"606bd88de93883c609786e3473d8dfed35c6bcb7","tarball":"http://registry-npm.ywwl.com/stylelint-config-standard/download/stylelint-config-standard-41.0.0.tgz","fileCount":4,"integrity":"sha512-EJIvMOMARieBOLhw2yzN7BaVFiIY2Ex8CkbXahxP6tQZK41+N8OVUo57Uvx9iTr862h+thqDoDH7vQbeth1ryg==","signatures":[{"sig":"MEUCIQDWcjYwBP4+sEoJUFEKuxKwDJAQHWZ0KNNqvgvvPYgV9gIgJ1iT3w1Q5QZRsHKk8degRzRRYwwbDEvHPo2YmvgEnN8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/stylelint-config-standard@41.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":9479,"size":3715,"noattachment":false,"key":"/stylelint-config-standard/-/stylelint-config-standard-41.0.0.tgz"},"type":"module","engines":{"node":"^22.22.2 || ^24.15.0 || >=26.0.0"},"exports":{".":"./index.js"},"funding":[{"url":"https://opencollective.com/stylelint","type":"opencollective"},{"url":"https://github.com/sponsors/stylelint","type":"github"}],"gitHead":"bdd37117cce5120741286143d44dc2fafdbb1500","scripts":{"lint":"npm-run-all --parallel lint:*","test":"node --test","watch":"npm test --ignore-scripts -- --watch","format":"prettier . --write","lint:js":"eslint","lint:md":"remark . --quiet --frail --ignore-path .gitignore","prepare":"git config set --local core.hooksPath .githooks || true","pretest":"npm run lint","lint:formatting":"prettier . --check"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","approver":{"name":"jeddy3","email":"npm@richardhallows.com"},"trustedPublisher":{"id":"github","oidcConfigId":"3737fdb7-a52d-4a69-9be2-38690aa6beef"}},"prettier":"@stylelint/prettier-config","repository":{"url":"git+https://github.com/stylelint/stylelint-config-standard.git","type":"git"},"_npmVersion":"12.2.1","description":"Standard shareable config for Stylelint","directories":{},"lint-staged":{"*.js":"eslint --cache --fix","*.{js,md,yml}":"prettier --write"},"_nodeVersion":"27.0.0-alpha.0.0.0","dependencies":{"stylelint-config-recommended":"^19.0.0"},"remarkConfig":{"plugins":["@stylelint/remark-preset"]},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^10.13.0","prettier":"^3.9.10","stylelint":"^18.0.0","remark-cli":"^12.0.1","lint-staged":"^17.6.0","npm-run-all":"^4.1.5","eslint-config-stylelint":"^28.0.0","@stylelint/remark-preset":"^5.1.2","@stylelint/prettier-config":"^4.1.0"},"peerDependencies":{"stylelint":"^18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/stylelint-config-standard_41.0.0_1793712634882_0.26436499927139023","host":"s3://npm-registry-packages-npm-production"},"readme":"# stylelint-config-standard\n\n[![NPM version](https://img.shields.io/npm/v/stylelint-config-standard.svg)](https://www.npmjs.org/package/stylelint-config-standard) [![Build Status](https://github.com/stylelint/stylelint-config-standard/workflows/CI/badge.svg)](https://github.com/stylelint/stylelint-config-standard/actions)\n\n> The standard shareable config for Stylelint.\n\nIt extends [`stylelint-config-recommended`](https://github.com/stylelint/stylelint-config-recommended) and turns on additional rules to enforce modern conventions found in the [CSS specifications](https://www.w3.org/Style/CSS/current-work) and within [Baseline Widely Available](https://web.dev/baseline).\n\nTo see the rules that this config uses, please read the [config itself](./index.js).\n\n## Example\n\n```css\n@import url(\"reset.css\") layer(reset);\n\n/**\n * Multi-line comment\n */\n\n@keyframes fade-in {\n  to {\n    opacity: 1;\n  }\n}\n\n@layer elements {\n  :root {\n    --blue: light-dark(#06b, #3af);\n  }\n\n  /* Single-line comment */\n\n  html {\n    color-scheme: light dark;\n\n    @media (prefers-reduced-motion: no-preference) {\n      scroll-behavior: smooth;\n    }\n  }\n\n  a:visited {\n    color: oklch(from var(--blue) l c calc(h + 35));\n  }\n}\n\n/* Flush single line comment */\n@layer custom-elements {\n  @scope (cards-element) {\n    :scope {\n      /* Flush to parent comment */\n      display: block grid;\n\n      &:has(> :nth-child(3)) {\n        grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));\n      }\n    }\n  }\n\n  @scope (card-element) to (slot) {\n    :scope {\n      container: card / inline-size;\n      padding-inline: clamp(1rem, 5cqi, 2rem);\n    }\n\n    h2:not(.foo, .bar) {\n      font-family: \"Arial Black\", sans-serif;\n\n      @container card (inline-size >= 10rem) {\n        place-self: end;\n      }\n    }\n  }\n}\n```\n\n_Note: the config is tested against this example, as such the example contains plenty of modern CSS syntax and features._\n\n## Installation\n\n```bash\nnpm install stylelint-config-standard --save-dev\n```\n\n## Usage\n\nSet your Stylelint config to:\n\n```json\n{\n  \"extends\": \"stylelint-config-standard\"\n}\n```\n\n### Extending the config\n\nAdd a `\"rules\"` key to your config, then add your overrides and additions there.\n\nYou can turn off rules by setting its value to `null`. For example:\n\n```json\n{\n  \"extends\": \"stylelint-config-standard\",\n  \"rules\": {\n    \"selector-class-pattern\": null\n  }\n}\n```\n\nOr lower the severity of a rule to a warning using the `severity` secondary option. For example:\n\n```json\n{\n  \"extends\": \"stylelint-config-standard\",\n  \"rules\": {\n    \"property-no-vendor-prefix\": [\n      true,\n      {\n        \"severity\": \"warning\"\n      }\n    ]\n  }\n}\n```\n\nOr to add a rule, For example, the `unit-allowed-list` one:\n\n```json\n{\n  \"extends\": \"stylelint-config-standard\",\n  \"rules\": {\n    \"unit-allowed-list\": [\"em\", \"rem\", \"s\"]\n  }\n}\n```\n\nWe recommend adding more of [Stylelint's rules](https://stylelint.io/user-guide/rules/) to your config as these rules need to be configured to suit your specific needs.\n\n## [Changelog](CHANGELOG.md)\n\n## [License](LICENSE)\n","publish_time":1793712634952,"_cnpm_publish_time":1793712634952,"dist-tags":{"latest":"41.0.0"}}