{"_id":"stylelint-test-rule-node","_rev":"12-814410aa5289062d2cf45a8e6db4f029","name":"stylelint-test-rule-node","dist-tags":{"latest":"1.2.0"},"versions":{"0.1.0":{"name":"stylelint-test-rule-node","version":"0.1.0","keywords":["stylelint","test"],"author":{"name":"stylelint"},"license":"MIT","_id":"stylelint-test-rule-node@0.1.0","maintainers":[{"name":"ybiquitous","email":"ybiquitous@gmail.com"}],"homepage":"https://github.com/stylelint/stylelint-test-rule-node#readme","bugs":{"url":"https://github.com/stylelint/stylelint-test-rule-node/issues"},"dist":{"shasum":"98b2da7f11466813072cb649e33a41a395f6ea75","tarball":"https://registry.npmjs.org/stylelint-test-rule-node/-/stylelint-test-rule-node-0.1.0.tgz","fileCount":5,"integrity":"sha512-ApGdn4gW46MOrRO3QNLnlUx/qCbwUZ/MD8g91rI0UadH/xPpHPLf4MKBo9N30+OXtlzKMUQBzp2mBm8CAiAeag==","signatures":[{"sig":"MEYCIQDiQaPjalBAoVuJhwR/JREQktrKPpBY1tGdscjdQ+7w2AIhAOdk/a3gyeXZtKDNgG1whRQnE6ED7UjZqf019vREP26d","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17365},"type":"module","types":"lib/index.d.ts","engines":{"node":">=18.12.0"},"exports":"./lib/index.js","gitHead":"462c5f6194ab7e0faa38d5664c8ac4e0858bdb28","scripts":{"lint":"npm-run-all --parallel lint:*","test":"node --test","watch":"npm --ignore-scripts test -- --watch","format":"prettier . --write","lint:js":"eslint .","lint:md":"remark . --quiet --frail","prepare":"husky install","pretest":"npm run lint","release":"np --no-release-draft","lint:types":"tsc","lint:formatting":"prettier . --check"},"_npmUser":{"name":"ybiquitous","email":"ybiquitous@gmail.com"},"prettier":"@stylelint/prettier-config","repository":{"url":"git+https://github.com/stylelint/stylelint-test-rule-node.git","type":"git"},"_npmVersion":"10.2.4","description":"A Stylelint rule tester using Node.js built-in test runner.","directories":{},"lint-staged":{"*.js":"eslint --cache --fix","*.{js,json,md,yml}":"prettier --write"},"_nodeVersion":"21.4.0","eslintConfig":{"root":true,"extends":["stylelint"],"reportUnusedDisableDirectives":true},"remarkConfig":{"plugins":["@stylelint/remark-preset"]},"_hasShrinkwrap":false,"devDependencies":{"np":"^9.0.0","husky":"^8.0.3","eslint":"^8.54.0","prettier":"^3.1.0","stylelint":"^16.0.0-3","remark-cli":"^12.0.0","typescript":"^5.3.2","lint-staged":"^15.1.0","npm-run-all":"^4.1.5","@tsconfig/node18":"^18.2.2","@tsconfig/strictest":"^2.0.2","eslint-config-stylelint":"^20.0.0","@stylelint/remark-preset":"^5.0.0","@stylelint/prettier-config":"^3.0.0"},"peerDependencies":{"stylelint":"^16.0.0-3"},"_npmOperationalInternal":{"tmp":"tmp/stylelint-test-rule-node_0.1.0_1701996947147_0.49402403189878563","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"stylelint-test-rule-node","version":"0.2.0","keywords":["stylelint","test"],"author":{"name":"stylelint"},"license":"MIT","_id":"stylelint-test-rule-node@0.2.0","maintainers":[{"name":"ybiquitous","email":"ybiquitous@gmail.com"}],"homepage":"https://github.com/stylelint/stylelint-test-rule-node#readme","bugs":{"url":"https://github.com/stylelint/stylelint-test-rule-node/issues"},"dist":{"shasum":"0f9c88fb980a064e5b0c6995cda5e144f43f3e24","tarball":"https://registry.npmjs.org/stylelint-test-rule-node/-/stylelint-test-rule-node-0.2.0.tgz","fileCount":5,"integrity":"sha512-LCT6GDMF+fEHonpVjExMy6S4nFBsZ66RqcdWEEyZjWLDdNck6bHOwTJmD7O2Ut9C3dA61QhHJgjyjrEkus9/kg==","signatures":[{"sig":"MEQCIGjM8wvfh8NCEVId3ewsptxGVS2rx1seCiwDrKSaoz3JAiA3jUQ9PHXDjv1Tl9X75VoKx5aBz5VijJIWyug8r3OYfw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17493},"type":"module","types":"lib/index.d.ts","engines":{"node":">=18.12.0"},"exports":"./lib/index.js","gitHead":"f03d7034034102163aa0090e69c42f2be7f4aa98","scripts":{"lint":"npm-run-all --parallel lint:*","test":"node --test","watch":"npm --ignore-scripts test -- --watch","format":"prettier . --write","lint:js":"eslint .","lint:md":"remark . --quiet --frail","prepare":"husky install","pretest":"npm run lint","release":"np --no-release-draft","lint:types":"tsc","lint:formatting":"prettier . --check"},"_npmUser":{"name":"ybiquitous","email":"ybiquitous@gmail.com"},"prettier":"@stylelint/prettier-config","repository":{"url":"git+https://github.com/stylelint/stylelint-test-rule-node.git","type":"git"},"_npmVersion":"10.2.4","description":"A Stylelint rule tester using Node.js built-in test runner.","directories":{},"lint-staged":{"*.js":"eslint --cache --fix","*.{js,json,md,yml}":"prettier --write"},"_nodeVersion":"21.4.0","eslintConfig":{"root":true,"extends":["stylelint"],"reportUnusedDisableDirectives":true},"remarkConfig":{"plugins":["@stylelint/remark-preset"]},"_hasShrinkwrap":false,"devDependencies":{"np":"^9.1.0","husky":"^8.0.3","eslint":"^8.55.0","prettier":"^3.1.0","stylelint":"^16.0.0","remark-cli":"^12.0.0","typescript":"^5.3.3","lint-staged":"^15.2.0","npm-run-all":"^4.1.5","@tsconfig/node18":"^18.2.2","@tsconfig/strictest":"^2.0.2","eslint-config-stylelint":"^20.0.0","@stylelint/remark-preset":"^5.0.0","@stylelint/prettier-config":"^3.0.0"},"peerDependencies":{"stylelint":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/stylelint-test-rule-node_0.2.0_1702036263171_0.6296050965807567","host":"s3://npm-registry-packages"}},"0.2.1":{"name":"stylelint-test-rule-node","version":"0.2.1","keywords":["stylelint","test"],"author":{"name":"stylelint"},"license":"MIT","_id":"stylelint-test-rule-node@0.2.1","maintainers":[{"name":"ybiquitous","email":"ybiquitous@gmail.com"}],"homepage":"https://github.com/stylelint/stylelint-test-rule-node#readme","bugs":{"url":"https://github.com/stylelint/stylelint-test-rule-node/issues"},"dist":{"shasum":"1d20e00d356305d32a8440f751a7aff16e05810e","tarball":"https://registry.npmjs.org/stylelint-test-rule-node/-/stylelint-test-rule-node-0.2.1.tgz","fileCount":5,"integrity":"sha512-+/CVfxp6MhXTRe9rA21j2DA8VoiZyU4gnK4soADWhV95e0KC6XQ9YoP8cvWNjWqjRIrebL+fc7ZNoBqnTnfeYA==","signatures":[{"sig":"MEUCIHdh8P4EA4Bjhr2u950xVvHhtuJ/ekh8D9TWSBQ/NFkVAiEAh7XLAn6uR8K396D84F5Oxcv5eSoJV/+/Ox3lxzv3Z0Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17708},"type":"module","types":"lib/index.d.ts","engines":{"node":">=18.12.0"},"exports":"./lib/index.js","funding":{"url":"https://opencollective.com/stylelint","type":"opencollective"},"gitHead":"8ae116262de69a27663c0bf1c3ad9545f4f71de8","scripts":{"lint":"npm-run-all --parallel lint:*","test":"node --test","watch":"npm --ignore-scripts test -- --watch","format":"prettier . --write","lint:js":"eslint .","lint:md":"remark . --quiet --frail","prepare":"husky install","pretest":"npm run lint","release":"np --no-release-draft","lint:types":"tsc","lint:formatting":"prettier . --check","lint:packagejson":"npmPkgJsonLint ."},"_npmUser":{"name":"ybiquitous","email":"ybiquitous@gmail.com"},"prettier":"@stylelint/prettier-config","repository":{"url":"git+https://github.com/stylelint/stylelint-test-rule-node.git","type":"git"},"_npmVersion":"10.2.4","description":"A Stylelint rule tester using Node.js built-in test runner.","directories":{},"lint-staged":{"*.js":"eslint --cache --fix","*.{js,json,md,yml}":"prettier --write"},"_nodeVersion":"21.4.0","eslintConfig":{"root":true,"extends":["stylelint"],"reportUnusedDisableDirectives":true},"remarkConfig":{"plugins":["@stylelint/remark-preset"]},"_hasShrinkwrap":false,"devDependencies":{"np":"^9.2.0","husky":"^8.0.3","eslint":"^8.55.0","prettier":"^3.1.1","stylelint":"^16.0.2","remark-cli":"^12.0.0","typescript":"^5.3.3","lint-staged":"^15.2.0","npm-run-all":"^4.1.5","@tsconfig/node18":"^18.2.2","@tsconfig/strictest":"^2.0.2","eslint-config-stylelint":"^20.0.0","@stylelint/remark-preset":"^5.0.0","@stylelint/prettier-config":"^3.0.0","@stylelint/npm-package-json-lint-config":"^5.0.1"},"peerDependencies":{"stylelint":"^16.0.1"},"npmpackagejsonlint":{"extends":"@stylelint/npm-package-json-lint-config"},"_npmOperationalInternal":{"tmp":"tmp/stylelint-test-rule-node_0.2.1_1702390975438_0.6135315302278066","host":"s3://npm-registry-packages"}},"0.2.2":{"name":"stylelint-test-rule-node","version":"0.2.2","keywords":["stylelint","test"],"author":{"name":"stylelint"},"license":"MIT","_id":"stylelint-test-rule-node@0.2.2","homepage":"https://github.com/stylelint/stylelint-test-rule-node#readme","bugs":{"url":"https://github.com/stylelint/stylelint-test-rule-node/issues"},"dist":{"shasum":"b35aea7f27f5a43d741797e12588b73254345359","tarball":"https://registry.npmjs.org/stylelint-test-rule-node/-/stylelint-test-rule-node-0.2.2.tgz","fileCount":5,"integrity":"sha512-muMgHkW0rpGwIHuL+dgxiWgojcPNByNiBHm5+NqZT/vUAWo0QZYY1jCDVbw2G404LFpzHDd0BZ4JEMKOIw/Dlw==","signatures":[{"sig":"MEUCIQC3B+Q3CNXcKX9ThAS0YWHR4n1ejnQg0AF61yQcNU/haAIgIlbl/tqQ5rYK88Q7obYL9Y9n/tckMFIV2jQmxn/oE1U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17808},"type":"module","types":"lib/index.d.ts","engines":{"node":">=18.12.0"},"exports":"./lib/index.js","funding":[{"url":"https://opencollective.com/stylelint","type":"opencollective"},{"url":"https://github.com/sponsors/stylelint","type":"github"}],"gitHead":"d93b4a658a25c67c8a19d94ef9d07352962b71b0","scripts":{"lint":"npm-run-all --parallel lint:*","test":"node --test","watch":"npm --ignore-scripts test -- --watch","format":"prettier . --write","lint:js":"eslint .","lint:md":"remark . --quiet --frail","prepare":"husky","pretest":"npm run lint","release":"np --no-release-draft","lint:types":"tsc","lint:formatting":"prettier . --check","lint:packagejson":"npmPkgJsonLint ."},"_npmUser":{"name":"ybiquitous","email":"ybiquitous@gmail.com"},"prettier":"@stylelint/prettier-config","repository":{"url":"git+https://github.com/stylelint/stylelint-test-rule-node.git","type":"git"},"_npmVersion":"10.8.1","description":"A Stylelint rule tester using Node.js built-in test runner.","directories":{},"lint-staged":{"*.js":"eslint --cache --fix","*.{js,json,md,yml}":"prettier --write"},"_nodeVersion":"22.3.0","eslintConfig":{"root":true,"extends":["stylelint"],"reportUnusedDisableDirectives":true},"remarkConfig":{"plugins":["@stylelint/remark-preset"]},"_hasShrinkwrap":false,"devDependencies":{"np":"^10.0.5","husky":"^9.0.11","eslint":"^8.57.0","prettier":"^3.3.0","stylelint":"^16.6.1","remark-cli":"^12.0.1","typescript":"^5.4.5","lint-staged":"^15.2.5","npm-run-all":"^4.1.5","@tsconfig/node18":"^18.2.4","@tsconfig/strictest":"^2.0.5","eslint-config-stylelint":"^21.0.0","@stylelint/remark-preset":"^5.1.0","@stylelint/prettier-config":"^3.0.0","@stylelint/npm-package-json-lint-config":"^5.0.1"},"peerDependencies":{"stylelint":"^16.0.1"},"npmpackagejsonlint":{"extends":"@stylelint/npm-package-json-lint-config"},"_npmOperationalInternal":{"tmp":"tmp/stylelint-test-rule-node_0.2.2_1718932440661_0.13422605868800597","host":"s3://npm-registry-packages"}},"0.3.0":{"name":"stylelint-test-rule-node","version":"0.3.0","keywords":["stylelint","test"],"author":{"name":"stylelint"},"license":"MIT","_id":"stylelint-test-rule-node@0.3.0","maintainers":[{"name":"ybiquitous","email":"ybiquitous@gmail.com"}],"homepage":"https://github.com/stylelint/stylelint-test-rule-node#readme","bugs":{"url":"https://github.com/stylelint/stylelint-test-rule-node/issues"},"dist":{"shasum":"f99e2422a77cecb21304f802d848104d6fa9bec6","tarball":"https://registry.npmjs.org/stylelint-test-rule-node/-/stylelint-test-rule-node-0.3.0.tgz","fileCount":5,"integrity":"sha512-f1e9v76lNJ2aFV7EDAHRoedaa5sFlUPhaYhEhy7u3h4Fi6KEuH8tNBllj1Vg8XHpLoP9LvE/AnbeaoiCXX+x+g==","signatures":[{"sig":"MEUCIEchsmKz44tXDeXKoNNYhb5jBVYFiFOEmyxZQ+HZFDfPAiEAwme18ANbC+w+/ZKg3KPwb032qD6vc9i4U5ZYdtHfkS4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17966},"type":"module","types":"lib/index.d.ts","engines":{"node":">=18.12.0"},"exports":"./lib/index.js","funding":[{"url":"https://opencollective.com/stylelint","type":"opencollective"},{"url":"https://github.com/sponsors/stylelint","type":"github"}],"gitHead":"3a905f168c69da0aa103f50f749896d2b91e47e9","scripts":{"lint":"npm-run-all --parallel lint:*","test":"node --test","watch":"npm --ignore-scripts test -- --watch","format":"prettier . --write","lint:js":"eslint .","lint:md":"remark . --quiet --frail","prepare":"husky","pretest":"npm run lint","release":"np --no-release-draft","lint:types":"tsc","lint:formatting":"prettier . --check","lint:packagejson":"npmPkgJsonLint ."},"_npmUser":{"name":"ybiquitous","email":"ybiquitous@gmail.com"},"prettier":"@stylelint/prettier-config","repository":{"url":"git+https://github.com/stylelint/stylelint-test-rule-node.git","type":"git"},"_npmVersion":"10.8.1","description":"A Stylelint rule tester using Node.js built-in test runner.","directories":{},"lint-staged":{"*.js":"eslint --cache --fix","*.{js,json,md,yml}":"prettier --write"},"_nodeVersion":"22.4.0","eslintConfig":{"root":true,"extends":["stylelint"],"reportUnusedDisableDirectives":true},"remarkConfig":{"plugins":["@stylelint/remark-preset"]},"_hasShrinkwrap":false,"devDependencies":{"np":"^10.0.6","husky":"^9.0.11","eslint":"^8.57.0","prettier":"^3.3.2","stylelint":"^16.6.1","remark-cli":"^12.0.1","typescript":"^5.5.3","lint-staged":"^15.2.7","npm-run-all":"^4.1.5","@tsconfig/node18":"^18.2.4","@tsconfig/strictest":"^2.0.5","eslint-config-stylelint":"^21.0.0","@stylelint/remark-preset":"^5.1.1","@stylelint/prettier-config":"^3.0.0","@stylelint/npm-package-json-lint-config":"^5.1.0"},"peerDependencies":{"stylelint":"^16.0.1"},"npmpackagejsonlint":{"extends":"@stylelint/npm-package-json-lint-config"},"_npmOperationalInternal":{"tmp":"tmp/stylelint-test-rule-node_0.3.0_1720441860834_0.9347540394068989","host":"s3://npm-registry-packages"}},"0.4.0":{"name":"stylelint-test-rule-node","version":"0.4.0","keywords":["stylelint","test"],"author":{"name":"stylelint"},"license":"MIT","_id":"stylelint-test-rule-node@0.4.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-test-rule-node#readme","bugs":{"url":"https://github.com/stylelint/stylelint-test-rule-node/issues"},"dist":{"shasum":"43b82d127efa27e88efbc318b02a797fb9aa0e4c","tarball":"https://registry.npmjs.org/stylelint-test-rule-node/-/stylelint-test-rule-node-0.4.0.tgz","fileCount":5,"integrity":"sha512-E2OC3bewFH6vtQC8OS2SJW6GY4pbHNpRwk1Nk95gwegFGbvECB6AK8MNEz5zRlCl4R1muVfE+TAl2Zjbib3mCA==","signatures":[{"sig":"MEQCIFDNA7mN5G49LtpUYL4F9bMgGofh2ANCTfkJ2S69drNEAiAjBC/8XWRGY0JGBU/eZv8Y2bLZBM1VaBRznFz00xBtUg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18410},"type":"module","types":"lib/index.d.ts","engines":{"node":">=18.12.0"},"exports":"./lib/index.js","funding":[{"url":"https://opencollective.com/stylelint","type":"opencollective"},{"url":"https://github.com/sponsors/stylelint","type":"github"}],"gitHead":"ffdc97b98f30e2a30571c27ad16bb7a68a5c7cc2","scripts":{"lint":"npm-run-all --parallel lint:*","test":"node --test","watch":"npm --ignore-scripts test -- --watch","format":"prettier . --write","lint:js":"eslint .","lint:md":"remark . --quiet --frail","prepare":"husky","pretest":"npm run lint","release":"np --no-release-draft","lint:types":"tsc","lint:formatting":"prettier . --check","lint:packagejson":"npmPkgJsonLint ."},"_npmUser":{"name":"jeddy3","email":"npm@richardhallows.com"},"prettier":"@stylelint/prettier-config","repository":{"url":"git+https://github.com/stylelint/stylelint-test-rule-node.git","type":"git"},"_npmVersion":"10.9.1","description":"A Stylelint rule tester using Node.js built-in test runner.","directories":{},"lint-staged":{"*.js":"eslint --cache --fix","*.{js,json,md,yml}":"prettier --write"},"_nodeVersion":"22.11.0","remarkConfig":{"plugins":["@stylelint/remark-preset"]},"_hasShrinkwrap":false,"devDependencies":{"np":"^10.1.0","husky":"^9.1.7","eslint":"^9.17.0","prettier":"^3.4.2","stylelint":"^16.14.0","remark-cli":"^12.0.1","typescript":"^5.7.2","lint-staged":"^15.3.0","npm-run-all":"^4.1.5","@tsconfig/node18":"^18.2.4","@tsconfig/strictest":"^2.0.5","eslint-config-stylelint":"^23.0.0","@stylelint/remark-preset":"^5.1.1","@stylelint/prettier-config":"^3.0.0","@stylelint/npm-package-json-lint-config":"^5.1.0"},"peerDependencies":{"stylelint":"^16.0.1"},"npmpackagejsonlint":{"extends":"@stylelint/npm-package-json-lint-config"},"_npmOperationalInternal":{"tmp":"tmp/stylelint-test-rule-node_0.4.0_1737889280083_0.674789580560448","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"stylelint-test-rule-node","version":"1.0.0","keywords":["stylelint","test"],"author":{"name":"stylelint"},"license":"MIT","_id":"stylelint-test-rule-node@1.0.0","maintainers":[{"name":"jeddy3","email":"npm@richardhallows.com"},{"name":"ybiquitous","email":"ybiquitous@gmail.com"},{"name":"romainmenke","email":"romainmenke@gmail.com"}],"homepage":"https://github.com/stylelint/stylelint-test-rule-node#readme","bugs":{"url":"https://github.com/stylelint/stylelint-test-rule-node/issues"},"dist":{"shasum":"fcba588193da81e809d8f43976ec5733335e119d","tarball":"https://registry.npmjs.org/stylelint-test-rule-node/-/stylelint-test-rule-node-1.0.0.tgz","fileCount":5,"integrity":"sha512-LAm8BSMdLCZy+FKlFLKj6a4Wglgrc1eqYF7lJpfwL6Li/AVCwiZweEDkUV9AwrtjPZE1xffsKXxtwKaYw7gXAw==","signatures":[{"sig":"MEUCIQD5arlBzEOnuBFV3qML2eXS51uK8ztXnYMIAMA/l0vLCgIgOOgnmGHjuTgrn7hfoHVSXCzbOujorudPFCJkUR54jEg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/stylelint-test-rule-node@1.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":18348},"type":"module","types":"lib/index.d.ts","engines":{"node":">=20.19.0"},"exports":"./lib/index.js","funding":[{"url":"https://opencollective.com/stylelint","type":"opencollective"},{"url":"https://github.com/sponsors/stylelint","type":"github"}],"gitHead":"d6232bc4b8c695a2fe1452714529fabe4a9e8b4e","scripts":{"lint":"npm-run-all --parallel lint:*","test":"node --test","watch":"npm --ignore-scripts test -- --watch","format":"prettier . --write","lint:js":"eslint .","lint:md":"remark . --quiet --frail","prepare":"husky","pretest":"npm run lint","lint:types":"tsc","lint:formatting":"prettier . --check","lint:packagejson":"npmPkgJsonLint ."},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:6688811b-6d8c-4833-a8b8-e7eeb697802c"}},"prettier":"@stylelint/prettier-config","repository":{"url":"git+https://github.com/stylelint/stylelint-test-rule-node.git","type":"git"},"_npmVersion":"11.7.0","description":"A Stylelint rule tester using Node.js built-in test runner.","directories":{},"lint-staged":{"*.js":"eslint --cache --fix","*.{js,json,md,yml}":"prettier --write"},"_nodeVersion":"24.12.0","remarkConfig":{"plugins":["@stylelint/remark-preset"]},"_hasShrinkwrap":false,"devDependencies":{"husky":"^9.1.7","eslint":"^9.39.2","prettier":"^3.7.4","stylelint":"^17.0.0","remark-cli":"^12.0.1","typescript":"^5.9.3","lint-staged":"^16.2.7","npm-run-all":"^4.1.5","@tsconfig/node18":"^18.2.6","@tsconfig/strictest":"^2.0.8","eslint-config-stylelint":"^26.0.0","@stylelint/remark-preset":"^5.1.1","@stylelint/prettier-config":"^4.0.0","@stylelint/npm-package-json-lint-config":"^5.1.0"},"peerDependencies":{"stylelint":"^17.0.0"},"npmpackagejsonlint":{"extends":"@stylelint/npm-package-json-lint-config"},"_npmOperationalInternal":{"tmp":"tmp/stylelint-test-rule-node_1.0.0_1768479586486_0.9093358301809598","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"stylelint-test-rule-node","version":"1.1.0","keywords":["stylelint","test"],"author":{"name":"stylelint"},"license":"MIT","_id":"stylelint-test-rule-node@1.1.0","maintainers":[{"name":"jeddy3","email":"npm@richardhallows.com"},{"name":"ybiquitous","email":"ybiquitous@gmail.com"},{"name":"romainmenke","email":"romainmenke@gmail.com"}],"homepage":"https://github.com/stylelint/stylelint-test-rule-node#readme","bugs":{"url":"https://github.com/stylelint/stylelint-test-rule-node/issues"},"dist":{"shasum":"66b770258e4adc7d8c6bb881bece64d0010d14a7","tarball":"https://registry.npmjs.org/stylelint-test-rule-node/-/stylelint-test-rule-node-1.1.0.tgz","fileCount":5,"integrity":"sha512-WdhFPw+avrWIcVZ3VNlhG8K0hKKRG3edrhMPKvVjzFqkZJtA7efRuxMmKSk7vY4/+t0jFRl0DIGaVGPUL9jw+Q==","signatures":[{"sig":"MEQCIClgOrLiAlRbzk9uwglXtLHODS2CcWHoRPtAVnexoLE9AiAW8WnSqAK8tPwfAFH4Y/hvapjjbwkG6tdEnuId36MPJA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/stylelint-test-rule-node@1.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":18429},"type":"module","types":"lib/index.d.ts","engines":{"node":">=20.19.0"},"exports":"./lib/index.js","funding":[{"url":"https://opencollective.com/stylelint","type":"opencollective"},{"url":"https://github.com/sponsors/stylelint","type":"github"}],"gitHead":"1b2068bfd129b3a871c1c1dfb4c4d0868fc52f68","scripts":{"lint":"npm-run-all --parallel lint:*","test":"node --test","watch":"npm --ignore-scripts test -- --watch","format":"prettier . --write","lint:js":"eslint .","lint:md":"remark . --quiet --frail","prepare":"husky","pretest":"npm run lint","lint:types":"tsc","lint:formatting":"prettier . --check","lint:packagejson":"npmPkgJsonLint ."},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:6688811b-6d8c-4833-a8b8-e7eeb697802c"}},"prettier":"@stylelint/prettier-config","repository":{"url":"git+https://github.com/stylelint/stylelint-test-rule-node.git","type":"git"},"_npmVersion":"11.11.0","description":"A Stylelint rule tester using Node.js built-in test runner.","directories":{},"lint-staged":{"*.js":"eslint --cache --fix","*.{js,json,md,yml}":"prettier --write"},"_nodeVersion":"24.14.0","remarkConfig":{"plugins":["@stylelint/remark-preset"]},"_hasShrinkwrap":false,"devDependencies":{"husky":"^9.1.7","eslint":"^10.0.2","prettier":"^3.8.1","stylelint":"^17.3.0","remark-cli":"^12.0.1","typescript":"^5.9.3","lint-staged":"^16.2.7","npm-run-all":"^4.1.5","@tsconfig/node18":"^18.2.6","@tsconfig/strictest":"^2.0.8","eslint-config-stylelint":"^27.0.0","@stylelint/remark-preset":"^5.1.1","@stylelint/prettier-config":"^4.0.0","@stylelint/npm-package-json-lint-config":"^5.1.0"},"peerDependencies":{"stylelint":"^17.0.0"},"npmpackagejsonlint":{"extends":"@stylelint/npm-package-json-lint-config"},"peerDependenciesMeta":{"stylelint":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/stylelint-test-rule-node_1.1.0_1772544256998_0.9446006162277316","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"stylelint-test-rule-node","version":"1.2.0","description":"A Stylelint rule tester using Node.js built-in test runner.","keywords":["stylelint","test"],"repository":{"type":"git","url":"git+https://github.com/stylelint/stylelint-test-rule-node.git"},"funding":[{"type":"opencollective","url":"https://opencollective.com/stylelint"},{"type":"github","url":"https://github.com/sponsors/stylelint"}],"license":"MIT","author":{"name":"stylelint"},"type":"module","exports":"./lib/index.js","types":"lib/index.d.ts","scripts":{"format":"prettier . --write","lint":"npm-run-all --parallel lint:*","lint:formatting":"prettier . --check","lint:js":"eslint .","lint:md":"remark . --quiet --frail","lint:packagejson":"npmPkgJsonLint .","lint:types":"tsc","prepare":"git config set --local core.hooksPath .githooks || true","pretest":"npm run lint","test":"node --test","watch":"npm --ignore-scripts test -- --watch"},"lint-staged":{"*.js":"eslint --cache --fix","*.{js,json,md,yml}":"prettier --write"},"prettier":"@stylelint/prettier-config","npmpackagejsonlint":{"extends":"@stylelint/npm-package-json-lint-config"},"remarkConfig":{"plugins":["@stylelint/remark-preset"]},"devDependencies":{"@stylelint/npm-package-json-lint-config":"^5.1.0","@stylelint/prettier-config":"^4.0.0","@stylelint/remark-preset":"^5.1.1","@tsconfig/node18":"^18.2.6","@tsconfig/strictest":"^2.0.8","eslint":"^10.2.1","eslint-config-stylelint":"^27.0.0","lint-staged":"^16.4.0","npm-run-all":"^4.1.5","prettier":"^3.8.3","remark-cli":"^12.0.1","stylelint":"^17.9.0","typescript":"^6.0.3"},"peerDependencies":{"stylelint":"^17.0.0"},"peerDependenciesMeta":{"stylelint":{"optional":true}},"engines":{"node":">=20.19.0"},"gitHead":"b47bebdd26a4940208ddc3b1cfa63c47a0930562","_id":"stylelint-test-rule-node@1.2.0","bugs":{"url":"https://github.com/stylelint/stylelint-test-rule-node/issues"},"homepage":"https://github.com/stylelint/stylelint-test-rule-node#readme","_nodeVersion":"24.15.0","_npmVersion":"11.14.1","dist":{"integrity":"sha512-1YL76qNCbIgCiUkFhvTdIqh7W7VdXjhmOVD50TLTEIhRxjMe3SqqYPzVWvHhmO6UjOXJpfAqVUtSrEuTOQ8BNw==","shasum":"3bba1feb47b198c27f9629bca68a39c9a272072c","tarball":"https://registry.npmjs.org/stylelint-test-rule-node/-/stylelint-test-rule-node-1.2.0.tgz","fileCount":5,"unpackedSize":19160,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/stylelint-test-rule-node@1.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCnbWvVaUUtMClZ7oYVJbN/W2bsW44minSy/mtSwDq1fQIgPzhVGhBg+kAQzXpHyttQJAH19z05YelVu3JFSF2Xu0U="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:6688811b-6d8c-4833-a8b8-e7eeb697802c"}},"directories":{},"maintainers":[{"name":"jeddy3","email":"npm@richardhallows.com"},{"name":"ybiquitous","email":"ybiquitous@gmail.com"},{"name":"romainmenke","email":"romainmenke@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/stylelint-test-rule-node_1.2.0_1778873818820_0.7379008422488345"},"_hasShrinkwrap":false}},"time":{"created":"2023-12-08T00:55:47.146Z","modified":"2026-05-15T19:36:59.383Z","0.1.0":"2023-12-08T00:55:47.369Z","0.2.0":"2023-12-08T11:51:03.326Z","0.2.1":"2023-12-12T14:22:55.614Z","0.2.2":"2024-06-21T01:14:00.816Z","0.3.0":"2024-07-08T12:31:00.977Z","0.4.0":"2025-01-26T11:01:20.278Z","1.0.0":"2026-01-15T12:19:46.701Z","1.1.0":"2026-03-03T13:24:17.120Z","1.2.0":"2026-05-15T19:36:59.030Z"},"bugs":{"url":"https://github.com/stylelint/stylelint-test-rule-node/issues"},"author":{"name":"stylelint"},"license":"MIT","homepage":"https://github.com/stylelint/stylelint-test-rule-node#readme","keywords":["stylelint","test"],"repository":{"type":"git","url":"git+https://github.com/stylelint/stylelint-test-rule-node.git"},"description":"A Stylelint rule tester using Node.js built-in test runner.","maintainers":[{"name":"jeddy3","email":"npm@richardhallows.com"},{"name":"ybiquitous","email":"ybiquitous@gmail.com"},{"name":"romainmenke","email":"romainmenke@gmail.com"}],"readme":"# stylelint-test-rule-node\n\n[![npm version](https://img.shields.io/npm/v/stylelint-test-rule-node.svg)](https://www.npmjs.org/package/stylelint-test-rule-node)\n[![CI](https://github.com/stylelint/stylelint-test-rule-node/actions/workflows/ci.yml/badge.svg)](https://github.com/stylelint/stylelint-test-rule-node/actions/workflows/ci.yml)\n\nA Stylelint rule tester using [Node.js built-in test runner](https://nodejs.org/api/test.html) (`node:test`).\n\n## Installation\n\nInstall the tester package alongside Stylelint:\n\n```shell\nnpm install stylelint-test-rule-node stylelint --save-dev\n```\n\n## Usage\n\nFirst, write a test file for rules you want to test. For example:\n\n```js\n// block-no-empty.test.js\nimport { testRule } from \"stylelint-test-rule-node\";\n\ntestRule({\n  ruleName: \"block-no-empty\",\n  config: true,\n\n  accept: [\n    {\n      code: \"a { color: red }\"\n    }\n  ],\n\n  reject: [\n    {\n      code: \"a {}\",\n      message: \"Unexpected empty block (block-no-empty)\"\n    }\n  ]\n});\n```\n\nThen, run the test via `node --test`:\n\n```sh-session\n$ node --test block-no-empty.test.js\n...\n▶ block-no-empty (28.773291ms)\n\nℹ tests 2\nℹ suites 7\nℹ pass 2\nℹ fail 0\nℹ cancelled 0\nℹ skipped 0\nℹ todo 0\nℹ duration_ms 158.194084\n```\n\nSee also the [type definitions](lib/index.d.ts) for more details.\n\n### `testRule`\n\nThe `testRule` function enables you to efficiently test your plugin using a schema.\n\nFor example, we can test a plugin that enforces and autofixes kebab-case class selectors:\n\n```js\n// my-plugin.test.js\nimport { testRule } from \"stylelint-test-rule-node\";\n\nimport myPlugin from \"./my-plugin.js\";\n\nconst plugins = [myPlugin];\nconst {\n  ruleName,\n  rule: { messages }\n} = myPlugin;\n\ntestRule({\n  plugins,\n  ruleName,\n  config: [true, { type: \"kebab\" }],\n  fix: true,\n\n  accept: [\n    {\n      code: \".class {}\",\n      description: \"simple class selector\"\n    },\n    {\n      code: \".my-class {}\",\n      description: \"kebab class selector\"\n    }\n  ],\n\n  reject: [\n    {\n      code: \".myClass {}\",\n      fixed: \".my-class {}\",\n      description: \"camel case class selector\",\n      message: messages.expected(),\n      line: 1,\n      column: 1,\n      endLine: 1,\n      endColumn: 8\n    },\n    {\n      code: \".MyClass,\\n.MyOtherClass {}\",\n      fixed: \".my-class,\\n.my-other-class {}\",\n      description: \"two pascal class selectors in a selector list\",\n      warnings: [\n        {\n          message: messages.expected(),\n          line: 1,\n          column: 1,\n          endLine: 1,\n          endColumn: 8\n        },\n        {\n          message: messages.expected(),\n          line: 2,\n          column: 1,\n          endLine: 2,\n          endColumn: 13\n        }\n      ]\n    }\n  ]\n});\n```\n\n### `testRuleConfigs`\n\nThe `testRuleConfigs` function enables you to test invalid configs for a rule.\n\nFor example:\n\n```js\nimport { testRuleConfigs } from \"stylelint-test-rule-node\";\n\ntestRuleConfigs({\n  plugins,\n  ruleName,\n\n  accept: [\n    {\n      config: \"valid\"\n    }\n  ],\n\n  reject: [\n    {\n      config: \"invalid\"\n    },\n    {\n      config: [/invalid/],\n      description: \"regex is not allowed\"\n    }\n  ]\n});\n```\n\n## [Changelog](CHANGELOG.md)\n\n## [License](LICENSE)\n","readmeFilename":"README.md"}