@o3r/stylelint-plugin 9.0.0-alpha.10 → 9.0.0-alpha.11

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@o3r/stylelint-plugin",
3
- "version": "9.0.0-alpha.10",
3
+ "version": "9.0.0-alpha.11",
4
4
  "description": "In-house stylint plugins to use in your own eslint configuration",
5
5
  "keywords": [
6
6
  "stylelint",
@@ -32,9 +32,9 @@
32
32
  "@babel/preset-typescript": "~7.22.0",
33
33
  "@compodoc/compodoc": "^1.1.19",
34
34
  "@nx/jest": "~16.3.2",
35
- "@o3r/build-helpers": "^9.0.0-alpha.10",
36
- "@o3r/eslint-config-otter": "^9.0.0-alpha.10",
37
- "@o3r/eslint-plugin": "^9.0.0-alpha.10",
35
+ "@o3r/build-helpers": "^9.0.0-alpha.11",
36
+ "@o3r/eslint-config-otter": "^9.0.0-alpha.11",
37
+ "@o3r/eslint-plugin": "^9.0.0-alpha.11",
38
38
  "@types/jest": "~29.5.2",
39
39
  "@types/node": "^18.0.0",
40
40
  "@typescript-eslint/eslint-plugin": "^5.59.9",
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAIA,QAAA,MAAM,YAAY;;;GAEhB,CAAC;AAEH,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAIA,QAAA,MAAM,YAAY;;;GAEjB,CAAC;AAEF,eAAe,YAAY,CAAC"}
package/src/index.js CHANGED
@@ -3,8 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const stylelint_1 = require("stylelint");
4
4
  const get_namespaced_rule_name_1 = require("./utils/get-namespaced-rule-name");
5
5
  const index_1 = require("./rules/index");
6
- const rulesPlugins = Object.keys(index_1.rules).map(ruleName => {
7
- return (0, stylelint_1.createPlugin)((0, get_namespaced_rule_name_1.getNamespacedRuleName)(ruleName), index_1.rules[ruleName]);
8
- });
6
+ const rulesPlugins = Object.entries(index_1.rules).map(([ruleName, rule]) => (0, stylelint_1.createPlugin)((0, get_namespaced_rule_name_1.getNamespacedRuleName)(ruleName), rule));
9
7
  exports.default = rulesPlugins;
10
8
  //# sourceMappingURL=index.js.map
package/src/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;AAAA,yCAAuC;AACvC,+EAAuE;AACvE,yCAAoC;AAEpC,MAAM,YAAY,GAAG,MAAM,CAAC,IAAI,CAAC,aAAK,CAAC,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE;IACrD,OAAO,IAAA,wBAAY,EAAC,IAAA,gDAAqB,EAAC,QAAQ,CAAC,EAAE,aAAK,CAAC,QAAQ,CAAC,CAAC,CAAC;AACxE,CAAC,CAAC,CAAC;AAEH,kBAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;AAAA,yCAAuC;AACvC,+EAAuE;AACvE,yCAAoC;AAEpC,MAAM,YAAY,GAAG,MAAM,CAAC,OAAO,CAAC,aAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,QAAQ,EAAE,IAAI,CAAC,EAAE,EAAE,CAClE,IAAA,wBAAY,EAAC,IAAA,gDAAqB,EAAC,QAAQ,CAAC,EAAE,IAAW,CAAC,CAC3D,CAAC;AAEF,kBAAe,YAAY,CAAC"}
@@ -1,5 +1,5 @@
1
1
  /// <reference types="stylelint" />
2
2
  export declare const rules: {
3
- 'o3r-var-parameter-equal-variable': (primary: any, _secondaryOptions: Record<string, any>, context: import("stylelint").RuleContext) => (root: import("postcss/lib/root").default, result: import("stylelint").PostcssResult) => void;
3
+ readonly 'o3r-var-parameter-equal-variable': (primary: any, _secondaryOptions: Record<string, any>, context: import("stylelint").RuleContext) => (root: import("postcss/lib/root").default, result: import("stylelint").PostcssResult) => void;
4
4
  };
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/index.ts"],"names":[],"mappings":";AAEA,eAAO,MAAM,KAAK;;CAGjB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/index.ts"],"names":[],"mappings":";AAEA,eAAO,MAAM,KAAK;;CAGR,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/rules/index.ts"],"names":[],"mappings":";;;AAAA,0HAA+H;AAElH,QAAA,KAAK,GAAG;IACnB,gEAAgE;IAChE,kCAAkC,EAAE,uCAAgC;CACrE,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/rules/index.ts"],"names":[],"mappings":";;;AAAA,0HAA+H;AAElH,QAAA,KAAK,GAAG;IACnB,gEAAgE;IAChE,kCAAkC,EAAE,uCAAgC;CAC5D,CAAC"}