{"name":"stylelint-config-standard","version":"39.0.0","keywords":["stylelint","stylelint-config","standard"],"author":{"name":"Stylelint"},"license":"MIT","_id":"stylelint-config-standard@39.0.0","maintainers":[{"name":"jeddy3","email":"npm@richardhallows.com"},{"name":"hudochenkov","email":"aleks@hudochenkov.com"},{"name":"ntwb","email":"stephen@netweb.com.au"},{"name":"ota-meshi","email":"otameshiyo23@gmail.com"},{"name":"ybiquitous","email":"ybiquitous@gmail.com"},{"name":"mattxwang","email":"matt@matthewwang.me"},{"name":"romainmenke","email":"romainmenke@gmail.com"}],"homepage":"https://github.com/stylelint/stylelint-config-standard#readme","bugs":{"url":"https://github.com/stylelint/stylelint-config-standard/issues"},"dist":{"shasum":"9635554a9c42e7e89dadc024afac372d18e3e776","tarball":"http://registry-npm.ywwl.com/stylelint-config-standard/download/stylelint-config-standard-39.0.0.tgz","fileCount":4,"integrity":"sha512-JabShWORb8Bmc1A47ZyJstran60P3yUdI1zWMpGYPeFiC6xzHXJMkpKAd8EjIhq3HPUplIWWMDJ/xu0AiPd+kA==","signatures":[{"sig":"MEUCIQCFQiJ+UOtZaD3PrRk9BXqwioiUlA/Mk4lCXehM0DB4lAIgfBwxUVkm25XKEBcizZp9v9zCefC/2wwHuGfFhEDQbcc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9212,"size":3605,"noattachment":false,"key":"/stylelint-config-standard/-/stylelint-config-standard-39.0.0.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":"ac7ea5ec9cf815be9164500b6291d5e3e791fcef","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","release":"np --no-release-draft","lint:formatting":"prettier . --check"},"_npmUser":{"name":"jeddy3","email":"npm@richardhallows.com"},"prettier":"@stylelint/prettier-config","repository":{"url":"git+https://github.com/stylelint/stylelint-config-standard.git","type":"git"},"_npmVersion":"11.4.2","description":"Standard shareable config for Stylelint","directories":{},"lint-staged":{"*.js":"eslint --cache --fix","*.{js,md,yml}":"prettier --write"},"_nodeVersion":"24.3.0","dependencies":{"stylelint-config-recommended":"^17.0.0"},"remarkConfig":{"plugins":["@stylelint/remark-preset"]},"_hasShrinkwrap":false,"devDependencies":{"np":"^10.2.0","husky":"^9.1.7","eslint":"^9.30.0","prettier":"^3.6.2","stylelint":"^16.23.0","remark-cli":"^12.0.1","lint-staged":"^16.1.2","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.0_1753788637704_0.2121964492252042","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":1753788637863,"_cnpm_publish_time":1753788637863,"dist-tags":{"latest":"41.0.0"}}