@mrhenry/stylelint-mrhenry-attribute-selector-no-unknown 2.1.1 → 2.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.mjs +1 -2
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -18,8 +18,7 @@ const meta = {
18
18
  url: "https://github.com/mrhenry/stylelint-mrhenry/tree/main/packages/attribute-selector-no-unknown"
19
19
  };
20
20
 
21
- /** @type {import('stylelint').Rule<true|null>} */
22
- const ruleFunction = (primaryOption, secondaryOption, context) => {
21
+ const ruleFunction = (primaryOption, secondaryOption) => {
23
22
  return (postcssRoot, postcssResult) => {
24
23
  const validPrimary = stylelint.utils.validateOptions(postcssResult, ruleName, {
25
24
  actual: primaryOption,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mrhenry/stylelint-mrhenry-attribute-selector-no-unknown",
3
- "version": "2.1.1",
3
+ "version": "2.1.2",
4
4
  "description": "Warn when unknown attribute selectors are used",
5
5
  "type": "module",
6
6
  "main": "index.mjs",