{"name":"stylelint-config-standard","version":"39.0.1","keywords":["stylelint","stylelint-config","standard"],"author":{"name":"Stylelint"},"license":"MIT","_id":"stylelint-config-standard@39.0.1","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":"dcd1c28400added09e566e85ffe8d480ae2531a2","tarball":"http://registry-npm.ywwl.com/stylelint-config-standard/download/stylelint-config-standard-39.0.1.tgz","fileCount":4,"integrity":"sha512-b7Fja59EYHRNOTa3aXiuWnhUWXFU2Nfg6h61bLfAb5GS5fX3LMUD0U5t4S8N/4tpHQg3Acs2UVPR9jy2l1g/3A==","signatures":[{"sig":"MEYCIQC7qx1clXRrwnMtGx0hgH9VwEIyM4AHz9rmujNjhDdstQIhANuTtFQQjEjhatiGYoMEfNYRamGFqFxisjaafIHd4x7v","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/stylelint-config-standard@39.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":9199,"size":3605,"noattachment":false,"key":"/stylelint-config-standard/-/stylelint-config-standard-39.0.1.tgz"},"main":"index.js","engines":{"node":">=18.12.0"},"funding":[{"url":"https://opencollective.com/stylelint","type":"opencollective"},{"url":"https://github.com/sponsors/stylelint","type":"github"}],"gitHead":"a2416d346b14b030b99a2cf13c1b76079d03c686","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":"husky","pretest":"npm run lint","lint:formatting":"prettier . --check"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3737fdb7-a52d-4a69-9be2-38690aa6beef"}},"prettier":"@stylelint/prettier-config","repository":{"url":"git+https://github.com/stylelint/stylelint-config-standard.git","type":"git"},"_npmVersion":"11.6.1","description":"Standard shareable config for Stylelint","directories":{},"lint-staged":{"*.js":"eslint --cache --fix","*.{js,md,yml}":"prettier --write"},"_nodeVersion":"22.20.0","dependencies":{"stylelint-config-recommended":"^17.0.0"},"remarkConfig":{"plugins":["@stylelint/remark-preset"]},"_hasShrinkwrap":false,"devDependencies":{"husky":"^9.1.7","eslint":"^9.36.0","prettier":"^3.6.2","stylelint":"^16.25.0","remark-cli":"^12.0.1","lint-staged":"^16.2.0","npm-run-all":"^4.1.5","eslint-config-stylelint":"^25.0.0","@stylelint/remark-preset":"^5.1.1","@stylelint/prettier-config":"^3.0.0"},"peerDependencies":{"stylelint":"^16.23.0"},"_npmOperationalInternal":{"tmp":"tmp/stylelint-config-standard_39.0.1_1759745180344_0.020091140268049257","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(\"foo.css\");\n@import url(\"bar.css\");\n\n@custom-media --foo (min-width: 30em);\n\n/**\n * Multi-line comment\n */\n\n:root {\n  --brand-red: hsl(5deg 10% 40%);\n}\n\n/* Single-line comment */\n\n.class-foo:not(a, div) {\n  margin: 0;\n  top: calc(100% - 2rem);\n}\n\n/* Flush single line comment */\n@media (width >= 60em) {\n  #id-bar {\n    /* Flush to parent comment */\n    --offset: 0px;\n\n    color: #fff;\n    font-family: Helvetica, \"Arial Black\", sans-serif;\n    left: calc(var(--offset) + 50%);\n  }\n\n  @layer layer-foo.layer-bar {\n    a::after {\n      display: block;\n      content: \"→\";\n      background-image: url(\"x.svg\");\n    }\n  }\n}\n\n@keyframes fade-in {\n  from {\n    opacity: 0;\n  }\n\n  /* Flush nested single line comment */\n  to {\n    opacity: 1;\n  }\n}\n```\n\n_Note: the config is tested against this example, as such the example contains plenty of 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":1759745180548,"_cnpm_publish_time":1759745180548,"dist-tags":{"latest":"41.0.0"}}