@mrhenry/stylelint-mrhenry-prop-order 3.0.15 → 3.0.17

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 (3) hide show
  1. package/index.mjs +1 -2
  2. package/order.mjs +16 -0
  3. package/package.json +3 -3
package/index.mjs CHANGED
@@ -20,8 +20,7 @@ const ignoredAtRules = [
20
20
  'property'
21
21
  ];
22
22
 
23
- /** @type {import('stylelint').Rule<true|null>} */
24
- const ruleFunction = (primaryOption, secondaryOption, context) => {
23
+ const ruleFunction = (primaryOption) => {
25
24
  return (postcssRoot, postcssResult) => {
26
25
  const validPrimary = stylelint.utils.validateOptions(postcssResult, ruleName, {
27
26
  actual: primaryOption,
package/order.mjs CHANGED
@@ -34,6 +34,10 @@ export const order = [
34
34
  "background-position-x",
35
35
  "background-position-y",
36
36
  "background-repeat",
37
+ "background-repeat-inline",
38
+ "background-repeat-block",
39
+ "background-repeat-x",
40
+ "background-repeat-y",
37
41
  "background-size",
38
42
  "baseline-source",
39
43
  "block-step",
@@ -305,6 +309,7 @@ export const order = [
305
309
  "lighting-color",
306
310
  "line-break",
307
311
  "line-clamp",
312
+ "line-fit-edge",
308
313
  "line-grid",
309
314
  "line-height",
310
315
  "line-height-step",
@@ -350,6 +355,15 @@ export const order = [
350
355
  "mask-repeat",
351
356
  "mask-size",
352
357
  "mask-type",
358
+ "masonry-flow",
359
+ "masonry-direction",
360
+ "masonry-fill",
361
+ "masonry-auto-tracks",
362
+ "masonry-template-areas",
363
+ "masonry-template-tracks",
364
+ "masonry-track",
365
+ "masonry-track-start",
366
+ "masonry-track-end",
353
367
  "math-depth",
354
368
  "math-shift",
355
369
  "math-style",
@@ -533,6 +547,7 @@ export const order = [
533
547
  "text-align-all",
534
548
  "text-align-last",
535
549
  "text-anchor",
550
+ "text-box",
536
551
  "text-box-edge",
537
552
  "text-box-trim",
538
553
  "text-combine-upright",
@@ -594,6 +609,7 @@ export const order = [
594
609
  "view-timeline-inset",
595
610
  "view-timeline-name",
596
611
  "view-transition-class",
612
+ "view-transition-group",
597
613
  "view-transition-name",
598
614
  "visibility",
599
615
  "voice-balance",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mrhenry/stylelint-mrhenry-prop-order",
3
- "version": "3.0.15",
3
+ "version": "3.0.17",
4
4
  "description": "Mr. Henry's preferred order for CSS properties",
5
5
  "type": "module",
6
6
  "main": "index.mjs",
@@ -27,10 +27,10 @@
27
27
  "stylelint-plugin"
28
28
  ],
29
29
  "peerDependencies": {
30
- "stylelint": "^16.8.2"
30
+ "stylelint": "^16.9.0"
31
31
  },
32
32
  "devDependencies": {
33
33
  "css-tree": "^2.3.1",
34
- "stylelint": "^16.8.2"
34
+ "stylelint": "^16.9.0"
35
35
  }
36
36
  }