{"name":"stylelint-less","version":"4.2.0","keywords":["stylelint","stylelint-plugin","css","less"],"author":{"url":"https://github.com/ssivanatarajan/","name":"Sivantarajan"},"license":"MIT","_id":"stylelint-less@4.2.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":"8ecc33aa336c85629d91a189c73bf8b7a22a83df","tarball":"http://registry-npm.ywwl.com/stylelint-less/download/stylelint-less-4.2.0.tgz","fileCount":22,"integrity":"sha512-OSKdXdJ/2UQFHBiv/clAmcXjp/jpWm0kvQvvQKl2NCh7kLi4ed65GYpaPCEvL2TuqdIcEj+3VZgdZ/2D7+S2NQ==","signatures":[{"sig":"MEYCIQCRlP1GuQZHiuvnrALDY4XjyJNQJK706iK5E+UWYNmGWQIhAJ24XkXN/uy+ErnjflKUHJzvGE0znsRh6kaQGElg1gUM","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/stylelint-less@4.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":27405,"size":7608,"noattachment":false,"key":"/stylelint-less/-/stylelint-less-4.2.0.tgz"},"type":"module","_from":"file:stylelint-less-4.2.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":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b6f5fab2-bc31-42e6-8aaf-0c3618bcf3d5"}},"_resolved":"/tmp/acf502edb3070c8c7646faa22aa2c28f/stylelint-less-4.2.0.tgz","_integrity":"sha512-OSKdXdJ/2UQFHBiv/clAmcXjp/jpWm0kvQvvQKl2NCh7kLi4ed65GYpaPCEvL2TuqdIcEj+3VZgdZ/2D7+S2NQ==","repository":{"url":"git+https://github.com/stylelint-less/stylelint-less.git","type":"git","directory":"packages/stylelint-less"},"_npmVersion":"11.11.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"]},"_nodeVersion":"24.14.1","dependencies":{"css-tree":"^3.2.1","@types/css-tree":"^2.3.11","postcss-value-parser":"4.2.0","postcss-resolve-nested-selector":"^0.1.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^30.3.0","stylelint":"^17","@babel/core":"^7.29.0","@types/jest":"^30.0.0","postcss-less":"^6","@babel/preset-env":"^7.29.2","@types/postcss-less":"^4.0.7","jest-preset-stylelint":"^9.1.0"},"peerDependencies":{"postcss":"^8","stylelint":"^17"},"_npmOperationalInternal":{"tmp":"tmp/stylelint-less_4.2.0_1776519346410_0.8361903152715828","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":1776519346571,"_cnpm_publish_time":1776519346571,"dist-tags":{"latest":"4.2.2"}}