{"_id":"stylelint-less@4.2.2","bugs":{"url":"https://github.com/stylelint-less/stylelint-less/issues"},"dist":{"shasum":"ace4a178b2a14a5728c61c4b56f4a705853cb7c4","tarball":"http://registry-npm.ywwl.com/stylelint-less/download/stylelint-less-4.2.2.tgz","fileCount":22,"integrity":"sha512-UmuA5cLcMAi3BZ0kd8VrbOUov6QFyHe8Y9i+sA7uiqvOEioD5KVfQT1AafJ2TjA0r2wocScbtTBbDDYUAxaQxg==","signatures":[{"sig":"MEUCIBXp2F6mr9oWErKdYOIKOPR0Rlhs8bNVGKwvWa1HvykxAiEA68GwDz168fgPqGKBu9fbRsYtf93U4xSiR0fRWd5vw2Q=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQC8qV0Lyhfw3C9NzpFGWXKi+Fq1/4xwY8Sj544XUtqRgAIhALOLf1fIB6m2CZkH17pfz6QH72kZhVeLZMRQ3mvp2NaP"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/stylelint-less@4.2.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":29146,"size":7654,"noattachment":false,"key":"/stylelint-less/-/stylelint-less-4.2.2.tgz"},"name":"stylelint-less","type":"module","_from":"file:stylelint-less-4.2.2.tgz","babel":{"presets":["@babel/env"]},"types":"./index.d.ts","author":{"url":"https://github.com/ssivanatarajan/","name":"Sivantarajan"},"exports":{".":{"types":"./index.d.ts","import":"./src/index.js"}},"license":"MIT","scripts":{"test":"node --experimental-vm-modules node_modules/jest/bin/jest.js","typecheck":"tsc --noEmit"},"version":"4.2.2","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"b6f5fab2-bc31-42e6-8aaf-0c3618bcf3d5"}},"homepage":"https://github.com/stylelint-less/stylelint-less#readme","keywords":["css","less","stylelint","stylelint-plugin"],"_resolved":"/tmp/8b8819c350b796d126bbb393ca540f63/stylelint-less-4.2.2.tgz","_integrity":"sha512-UmuA5cLcMAi3BZ0kd8VrbOUov6QFyHe8Y9i+sA7uiqvOEioD5KVfQT1AafJ2TjA0r2wocScbtTBbDDYUAxaQxg==","repository":{"url":"git+https://github.com/stylelint-less/stylelint-less.git","type":"git","directory":"packages/stylelint-less"},"_npmVersion":"11.19.0","description":"A collection of Less specific rules for stylelint","directories":{},"lint-staged":{"*.{js,mjs,cjs}":["sh -c 'tsc --noEmit'","node --experimental-vm-modules node_modules/jest/bin/jest.js --bail --findRelatedTests"]},"maintainers":[{"name":"ubermanu","email":"e.vodor@gmail.com"},{"name":"sivanatarajan","email":"sivas1314@gmail.com"}],"_nodeVersion":"24.21.0","dependencies":{"css-tree":"^3.2.1","@types/css-tree":"^3.2.0","postcss-value-parser":"4.2.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^30.4.2","stylelint":"^17","@babel/core":"^8.0.1","@types/jest":"^30.0.0","postcss-less":"^6","@babel/preset-env":"^8.0.2","@types/postcss-less":"^4.0.7","jest-preset-stylelint":"^9.2.0"},"peerDependencies":{"postcss":"^8","stylelint":"^17"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/stylelint-less_4.2.2_1791653734993_0.7739472691662934"},"readme":"# stylelint-less\n\nA collection of [Less](https://lesscss.org/) specific rules for [stylelint](https://github.com/stylelint/stylelint).\n\n## Installation\n\n```shell\nnpm install stylelint-less --save-dev\n```\n\n## Usage\n\nAdd the `stylelint-less` plugin to your configuration, and set the rules you want to use under the `less` namespace.\n\n```json\n{\n  \"plugins\": [\"stylelint-less\"],\n  \"rules\": {\n    \"at-rule-no-unknown\": null,\n    \"color-no-invalid-hex\": true,\n    \"less/color-no-invalid-hex\": true\n  }\n}\n```\n\nPlease refer to the [stylelint](https://stylelint.io/user-guide/get-started/) docs for additional information on how to create a configuration file or add rules.\n\n## Rules\n\n- [less/color-hex-case](src/rules/color-hex-case): Specify lowercase or uppercase for hex colors.\n- [less/color-no-hex](src/rules/color-no-hex): Disallow hex colors.\n- [less/color-no-invalid-hex](src/rules/color-no-invalid-hex): Disallow invalid hex colors.\n- [less/no-duplicate-variables](src/rules/no-duplicate-variables): Disallow duplicate variables within a scope.\n\n## Note\n\nPlease make sure there is\n\n- No space between variable and ':'\n- A space between \":\" and value\n  example\n  `@color: red;`\n\nso that these rules will work as expected. If the variable is not in the above format , you will\nget `Invalid variable` error.\n","publish_time":1791653735077,"_cnpm_publish_time":1791653735077,"dist-tags":{"latest":"4.2.2"}}