{"name":"stylelint-less","version":"4.0.0","keywords":["stylelint","stylelint-plugin","css","less"],"author":{"url":"https://github.com/ssivanatarajan/","name":"Sivantarajan"},"license":"MIT","_id":"stylelint-less@4.0.0","maintainers":[{"name":"ubermanu","email":"e.vodor@gmail.com"},{"name":"sivanatarajan","email":"sivas1314@gmail.com"}],"homepage":"https://github.com/stylelint-less/stylelint-less#readme","bugs":{"url":"https://github.com/stylelint-less/stylelint-less/issues"},"dist":{"shasum":"06ea160d1ccd9d2edd15e3e9914169bb00ca3b2f","tarball":"http://registry-npm.ywwl.com/stylelint-less/download/stylelint-less-4.0.0.tgz","fileCount":19,"integrity":"sha512-9Wr9ZKgheWBUTNml4QmpxMAoBZN+PVcGQ/BttFBCWPBl3gltoceKdP0h2JgJQjLcsYZQVOPTyV5bHyrkKtFPdw==","signatures":[{"sig":"MEUCIQD1s/UaNQgx157ZFQEBRtNGms5LyGuwDBNnX1jVI4cfNgIgZFQlqk4gtWnHmCT8DCv+a3/WJ9Bf/l3qHivtaVpG+sk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15998,"size":4859,"noattachment":false,"key":"/stylelint-less/-/stylelint-less-4.0.0.tgz"},"type":"module","_from":"file:stylelint-less-4.0.0.tgz","babel":{"presets":["@babel/env"]},"types":"./index.d.ts","exports":{".":{"types":"./index.d.ts","import":"./src/index.js"}},"scripts":{"lint":"tsc --noEmit","test":"node --experimental-vm-modules node_modules/jest/bin/jest.js"},"_npmUser":{"name":"ubermanu","email":"e.vodor@gmail.com"},"prettier":"@stylelint/prettier-config","_resolved":"/tmp/nix-shell.DEtv24/5ed40c1e89b25f7b36546f0483ed6e13/stylelint-less-4.0.0.tgz","_integrity":"sha512-9Wr9ZKgheWBUTNml4QmpxMAoBZN+PVcGQ/BttFBCWPBl3gltoceKdP0h2JgJQjLcsYZQVOPTyV5bHyrkKtFPdw==","repository":{"url":"git+https://github.com/stylelint-less/stylelint-less.git","type":"git","directory":"packages/stylelint-less"},"_npmVersion":"11.6.2","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"]},"_nodeVersion":"24.12.0","dependencies":{"postcss-value-parser":"4.2.0","postcss-resolve-nested-selector":"^0.1.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^30.2.0","stylelint":"^16.26.1","@babel/core":"^7.23.6","@types/jest":"^30.0.0","postcss-less":"^6.0.0","@babel/preset-env":"^7.23.9","@types/postcss-less":"^4.0.7","jest-preset-stylelint":"^8.0.0"},"peerDependencies":{"postcss":"^8.4.31","stylelint":"^16.26.1 || ^17.0.0"},"_npmOperationalInternal":{"tmp":"tmp/stylelint-less_4.0.0_1767371935319_0.6803170291899674","host":"s3://npm-registry-packages-npm-production"},"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":1767371935476,"_cnpm_publish_time":1767371935476,"dist-tags":{"latest":"4.2.2"}}