@perplex-digital/stylelint-config 8.0.6 → 17.1.0

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/README.md CHANGED
@@ -33,8 +33,8 @@
33
33
  ## Advanced
34
34
 
35
35
  The default setup applies these rules:
36
- - `stylelint-config-standard`
37
- - `stylelint-config-recommended-vue`
36
+ - `@dreamsicle.io/stylelint-config-tailwindcss` (including `stylelint-config-standard`)
37
+ - `stylelint-config-recommended-vue` (including `stylelint-config-recommended` and `stylelint-config-html`)
38
38
  - `@stylistic/stylelint-plugin`,
39
39
  - `stylelint-use-logical-spec`
40
40
  - `stylelint-high-performance-animation`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@perplex-digital/stylelint-config",
3
- "version": "8.0.6",
3
+ "version": "17.1.0",
4
4
  "description": "Order and Concentric-based property sorting for Stylelint.",
5
5
  "keywords": [
6
6
  "tailwind",
@@ -40,28 +40,28 @@
40
40
  "package.json": "prettier --write"
41
41
  },
42
42
  "dependencies": {
43
- "@stylistic/stylelint-plugin": "^4.0.0",
43
+ "@dreamsicle.io/stylelint-config-tailwindcss": "^1.2.1",
44
+ "@stylistic/stylelint-plugin": "^4.0.1",
44
45
  "stylelint-config-recommended-vue": "^1.6.1",
45
- "stylelint-config-standard": "^38.0.0",
46
46
  "stylelint-high-performance-animation": "^1.11.0",
47
- "stylelint-order": "^7.0.0",
47
+ "stylelint-order": "^7.0.1",
48
48
  "stylelint-use-logical-spec": "^5.0.1"
49
49
  },
50
50
  "devDependencies": {
51
- "@changesets/cli": "^2.29.7",
52
- "@commitlint/cli": "^19.8.1",
53
- "@commitlint/config-conventional": "^19.8.1",
54
- "@nuxt/eslint-config": "^1.9.0",
51
+ "@changesets/cli": "^2.29.8",
52
+ "@commitlint/cli": "^20.3.1",
53
+ "@commitlint/config-conventional": "^20.3.1",
54
+ "@nuxt/eslint-config": "^1.13.0",
55
55
  "@zazen/changesets-changelog": "^2.0.3",
56
- "eslint": "^9.35.0",
56
+ "eslint": "^9.39.2",
57
57
  "husky": "^9.1.7",
58
- "lint-staged": "^16.1.6",
59
- "prettier": "^3.6.2",
60
- "stylelint": "^16.24.0",
61
- "typescript": "^5.9.2"
58
+ "lint-staged": "^16.2.7",
59
+ "prettier": "^3.8.1",
60
+ "stylelint": "^17.0.0",
61
+ "typescript": "^5.9.3"
62
62
  },
63
63
  "peerDependencies": {
64
- "stylelint": ">=16.23"
64
+ "stylelint": ">=17.0.0"
65
65
  },
66
66
  "scripts": {
67
67
  "lint": "eslint '**/*.js'",
package/src/index.js CHANGED
@@ -2,7 +2,7 @@ import order from './order.js';
2
2
  import propertyGroups from './property-groups.js';
3
3
 
4
4
  const config = {
5
- extends: ['stylelint-config-standard', 'stylelint-config-recommended-vue'],
5
+ extends: ['@dreamsicle.io/stylelint-config-tailwindcss', 'stylelint-config-recommended-vue'],
6
6
  plugins: [
7
7
  '@stylistic/stylelint-plugin',
8
8
  'stylelint-order',
@@ -38,7 +38,6 @@ const config = {
38
38
  },
39
39
  ],
40
40
  'function-no-unknown': null,
41
- 'import-notation': 'string',
42
41
  'no-descending-specificity': null,
43
42
  'no-empty-source': [
44
43
  true,
@@ -217,6 +217,23 @@ const propertyGroups = [
217
217
  'border-left-color',
218
218
  'border-left-style',
219
219
  'border-left-width',
220
+ 'corner',
221
+ 'corner-block-start',
222
+ 'corner-block-end',
223
+ 'corner-inline-start',
224
+ 'corner-inline-end',
225
+ 'corner-start-start',
226
+ 'corner-start-end',
227
+ 'corner-end-start',
228
+ 'corner-end-end',
229
+ 'corner-top',
230
+ 'corner-right',
231
+ 'corner-bottom',
232
+ 'corner-left',
233
+ 'corner-top-left',
234
+ 'corner-top-right',
235
+ 'corner-bottom-right',
236
+ 'corner-bottom-left',
220
237
  'border-radius',
221
238
  'border-start-start-radius',
222
239
  'border-start-end-radius',
@@ -226,6 +243,39 @@ const propertyGroups = [
226
243
  'border-top-right-radius',
227
244
  'border-bottom-right-radius',
228
245
  'border-bottom-left-radius',
246
+ 'corner-shape',
247
+ 'corner-block-start-shape',
248
+ 'corner-block-end-shape',
249
+ 'corner-inline-start-shape',
250
+ 'corner-inline-end-shape',
251
+ 'corner-start-start-shape',
252
+ 'corner-start-end-shape',
253
+ 'corner-end-start-shape',
254
+ 'corner-end-end-shape',
255
+ 'corner-top-shape',
256
+ 'corner-right-shape',
257
+ 'corner-bottom-shape',
258
+ 'corner-left-shape',
259
+ 'corner-top-left-shape',
260
+ 'corner-top-right-shape',
261
+ 'corner-bottom-right-shape',
262
+ 'corner-bottom-left-shape',
263
+ 'corner-block-start-shape',
264
+ 'corner-block-end-shape',
265
+ 'corner-inline-start-shape',
266
+ 'corner-inline-end-shape',
267
+ 'corner-start-start-shape',
268
+ 'corner-start-end-shape',
269
+ 'corner-end-start-shape',
270
+ 'corner-end-end-shape',
271
+ 'corner-top-shape',
272
+ 'corner-right-shape',
273
+ 'corner-bottom-shape',
274
+ 'corner-left-shape',
275
+ 'corner-top-left-shape',
276
+ 'corner-top-right-shape',
277
+ 'corner-bottom-right-shape',
278
+ 'corner-bottom-left-shape',
229
279
  'border-image',
230
280
  'border-image-source',
231
281
  'border-image-slice',
@@ -350,6 +400,9 @@ const propertyGroups = [
350
400
  */
351
401
  {
352
402
  properties: [
403
+ 'base-palette',
404
+ 'override-colors',
405
+ 'font-palette',
353
406
  'color',
354
407
  '-webkit-text-fill-color',
355
408
  '-webkit-text-stroke',
@@ -372,12 +425,17 @@ const propertyGroups = [
372
425
  'word-spacing',
373
426
  'letter-spacing',
374
427
  'hyphens',
428
+ 'hyphenate-character',
429
+ 'line-break',
375
430
  'word-break',
376
431
  'text-wrap',
432
+ 'text-wrap-mode',
433
+ 'text-wrap-style',
377
434
  'word-wrap', // Legacy name for `overflow-wrap`
378
435
  'overflow-wrap',
379
436
  'tab-size',
380
437
  'white-space',
438
+ 'white-space-collapse',
381
439
  ],
382
440
  },
383
441
 
@@ -452,7 +510,7 @@ const propertyGroups = [
452
510
  * @see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_color_adjustment#reference
453
511
  */
454
512
  {
455
- properties: ['color-scheme'],
513
+ properties: ['color-scheme', 'forced-color-adjust', 'print-color-adjust'],
456
514
  },
457
515
 
458
516
  /**
@@ -626,13 +684,16 @@ const propertyGroups = [
626
684
  'flood-opacity',
627
685
  'lighting-color',
628
686
 
687
+ 'marker',
629
688
  'marker-start',
630
689
  'marker-mid',
631
690
  'marker-end',
632
691
  'stop-color',
633
692
  'stop-opacity',
634
693
 
694
+ 'paint-order',
635
695
  'shape-rendering',
696
+ 'text-rendering',
636
697
  ],
637
698
  },
638
699
 
@@ -667,11 +728,13 @@ const propertyGroups = [
667
728
  {
668
729
  properties: [
669
730
  'anchor-name',
670
- 'position-anchor',
731
+ 'anchor-scope',
732
+ 'anchor-center',
671
733
  'position-area',
734
+ 'position-anchor',
672
735
  'position-try',
673
- 'position-try-fallbacks',
674
736
  'position-try-order',
737
+ 'position-try-fallbacks',
675
738
  'position-visibility',
676
739
  ],
677
740
  },
@@ -714,7 +777,7 @@ const propertyGroups = [
714
777
  * @see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_view_transitions#reference
715
778
  */
716
779
  {
717
- properties: ['view-transition-class', 'view-transition-name'],
780
+ properties: ['view-transition-name', 'view-transition-class'],
718
781
  },
719
782
 
720
783
  /**
@@ -762,7 +825,7 @@ const propertyGroups = [
762
825
  * @see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_motion_path#reference
763
826
  */
764
827
  {
765
- properties: ['offset', 'offset-anchor', 'offset-distance', 'offset-path', 'offset-position', 'offset-rotate'],
828
+ properties: ['offset', 'offset-position', 'offset-path', 'offset-distance', 'offset-rotate', 'offset-anchor'],
766
829
  },
767
830
 
768
831
  /**