{"name":"stylelint-less","version":"4.2.1","description":"A collection of Less specific rules for stylelint","keywords":["stylelint","stylelint-plugin","css","less"],"homepage":"https://github.com/stylelint-less/stylelint-less#readme","bugs":{"url":"https://github.com/stylelint-less/stylelint-less/issues"},"repository":{"type":"git","url":"git+https://github.com/stylelint-less/stylelint-less.git","directory":"packages/stylelint-less"},"license":"MIT","author":{"name":"Sivantarajan","url":"https://github.com/ssivanatarajan/"},"type":"module","exports":{".":{"types":"./index.d.ts","import":"./src/index.js"}},"lint-staged":{"*.{js,mjs,cjs}":["sh -c 'tsc --noEmit'","node --experimental-vm-modules node_modules/jest/bin/jest.js --bail --findRelatedTests"]},"babel":{"presets":["@babel/env"]},"dependencies":{"@types/css-tree":"^2.3.11","css-tree":"^3.2.1","postcss-value-parser":"4.2.0"},"devDependencies":{"@babel/core":"^7.29.0","@babel/preset-env":"^7.29.2","@types/jest":"^30.0.0","@types/postcss-less":"^4.0.7","jest":"^30.3.0","jest-preset-stylelint":"^9.1.0","postcss-less":"^6","stylelint":"^17"},"peerDependencies":{"postcss":"^8","stylelint":"^17"},"scripts":{"lint":"tsc --noEmit","test":"node --experimental-vm-modules node_modules/jest/bin/jest.js"},"types":"./index.d.ts","_id":"stylelint-less@4.2.1","_integrity":"sha512-FREYAwwm5cTAeCGmAJlq1228tEi62puMxM4IughUMVifIIUac7Mu03u410/S5QYCwA7L2l9HjiRyh4TQKkFhcA==","_resolved":"/tmp/e5036f683d655ee605a0524b0dee8205/stylelint-less-4.2.1.tgz","_from":"file:stylelint-less-4.2.1.tgz","_nodeVersion":"24.14.1","_npmVersion":"11.11.0","dist":{"integrity":"sha512-FREYAwwm5cTAeCGmAJlq1228tEi62puMxM4IughUMVifIIUac7Mu03u410/S5QYCwA7L2l9HjiRyh4TQKkFhcA==","shasum":"cee56b2831cca6aa2378432ccdbd0b9e588d3202","tarball":"http://registry-npm.ywwl.com/stylelint-less/download/stylelint-less-4.2.1.tgz","fileCount":22,"unpackedSize":27338,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/stylelint-less@4.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIAY0H1mrTaq0kPH8hKUrIXkGmikYn9jg9WYIne7nYFzKAiBgrS2KTjrvtjtwRYhgNER1qQ3XWDvOMsP/76d4jdWxbg=="}],"size":7587,"noattachment":false,"key":"/stylelint-less/-/stylelint-less-4.2.1.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b6f5fab2-bc31-42e6-8aaf-0c3618bcf3d5"}},"directories":{},"maintainers":[{"name":"ubermanu","email":"e.vodor@gmail.com"},{"name":"sivanatarajan","email":"sivas1314@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/stylelint-less_4.2.1_1776520767127_0.8498290130397679"},"_hasShrinkwrap":false,"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":1776520767257,"_cnpm_publish_time":1776520767257,"dist-tags":{"latest":"4.2.2"}}