{"name":"stylelint-config-standard","version":"40.0.0","description":"Standard shareable config for Stylelint","keywords":["stylelint","stylelint-config","standard"],"repository":{"type":"git","url":"git+https://github.com/stylelint/stylelint-config-standard.git"},"funding":[{"type":"opencollective","url":"https://opencollective.com/stylelint"},{"type":"github","url":"https://github.com/sponsors/stylelint"}],"license":"MIT","author":{"name":"Stylelint"},"type":"module","exports":{".":"./index.js"},"scripts":{"format":"prettier . --write","lint":"npm-run-all --parallel lint:*","lint:formatting":"prettier . --check","lint:js":"eslint","lint:md":"remark . --quiet --frail --ignore-path .gitignore","prepare":"husky","pretest":"npm run lint","test":"node --test","watch":"npm test --ignore-scripts -- --watch"},"lint-staged":{"*.js":"eslint --cache --fix","*.{js,md,yml}":"prettier --write"},"prettier":"@stylelint/prettier-config","remarkConfig":{"plugins":["@stylelint/remark-preset"]},"dependencies":{"stylelint-config-recommended":"^18.0.0"},"devDependencies":{"@stylelint/prettier-config":"^4.0.0","@stylelint/remark-preset":"^5.1.1","eslint":"^9.39.2","eslint-config-stylelint":"^26.0.0","husky":"^9.1.7","lint-staged":"^16.2.7","npm-run-all":"^4.1.5","prettier":"^3.7.4","remark-cli":"^12.0.1","stylelint":"^17.0.0"},"peerDependencies":{"stylelint":"^17.0.0"},"engines":{"node":">=20.19.0"},"gitHead":"fbbe7b8e3efaf6ad84084268944be412e4bee3df","_id":"stylelint-config-standard@40.0.0","bugs":{"url":"https://github.com/stylelint/stylelint-config-standard/issues"},"homepage":"https://github.com/stylelint/stylelint-config-standard#readme","_nodeVersion":"24.12.0","_npmVersion":"11.7.0","dist":{"integrity":"sha512-EznGJxOUhtWck2r6dJpbgAdPATIzvpLdK9+i5qPd4Lx70es66TkBPljSg4wN3Qnc6c4h2n+WbUrUynQ3fanjHw==","shasum":"6bb72b94f8be434cdf2902ba26b2167d572c5414","tarball":"http://registry-npm.ywwl.com/stylelint-config-standard/download/stylelint-config-standard-40.0.0.tgz","fileCount":4,"unpackedSize":9220,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/stylelint-config-standard@40.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQD0rxZURVrdKrNOEYCYLJoRj45MxmP5SpHZRS+lkQimJwIhAM7JzRLI0v3q1xvAMdyJru3lssJ5l3iAQNVxhBDRNzwZ"}],"size":3607,"noattachment":false,"key":"/stylelint-config-standard/-/stylelint-config-standard-40.0.0.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3737fdb7-a52d-4a69-9be2-38690aa6beef"}},"directories":{},"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"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/stylelint-config-standard_40.0.0_1768479027624_0.36677553813941977"},"_hasShrinkwrap":false,"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":1768479027794,"_cnpm_publish_time":1768479027794,"dist-tags":{"latest":"41.0.0"}}