@aarongoldenthal/stylelint-config-standard 19.0.0 → 21.0.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.
Files changed (4) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +1 -1
  3. package/index.js +14 -0
  4. package/package.json +13 -13
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2021 - 2024 Aaron Goldenthal
3
+ Copyright (c) 2021 - 2025 Aaron Goldenthal
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Stylelint Config Standard
2
2
 
3
- Custom standard StyleLint configuration for all projects. Includes all
3
+ Custom standard Stylelint configuration for all projects. Includes all
4
4
  referenced configurations and plugins as dependencies so they don't need
5
5
  to be included separately.
6
6
 
package/index.js CHANGED
@@ -32,6 +32,8 @@ export default {
32
32
  ],
33
33
  'annotation-no-unknown': true,
34
34
  'at-rule-allowed-list': null,
35
+ 'at-rule-descriptor-no-unknown': true,
36
+ 'at-rule-descriptor-value-no-unknown': true,
35
37
  'at-rule-disallowed-list': null,
36
38
  'at-rule-empty-line-before': [
37
39
  'always',
@@ -40,10 +42,14 @@ export default {
40
42
  ignore: ['after-comment']
41
43
  }
42
44
  ],
45
+ 'at-rule-no-deprecated': true,
43
46
  'at-rule-no-unknown': true,
44
47
  'at-rule-no-vendor-prefix': true,
48
+ 'at-rule-prelude-no-invalid': true,
45
49
  'at-rule-property-required-list': null,
46
50
  'block-no-empty': true,
51
+ 'block-no-redundant-nested-style-rules': true,
52
+ 'color-function-alias-notation': 'without-alpha',
47
53
  'color-function-notation': 'modern',
48
54
  'color-hex-alpha': null,
49
55
  'color-hex-length': 'long', // Changed
@@ -61,6 +67,7 @@ export default {
61
67
  'comment-pattern': null,
62
68
  'comment-whitespace-inside': 'always',
63
69
  'comment-word-disallowed-list': null,
70
+ 'container-name-pattern': null,
64
71
  'custom-media-pattern': [
65
72
  '^([a-z][a-z0-9]*)(-[a-z0-9]+)*$',
66
73
  {
@@ -106,6 +113,7 @@ export default {
106
113
  'declaration-property-unit-disallowed-list': null,
107
114
  'declaration-property-value-allowed-list': null,
108
115
  'declaration-property-value-disallowed-list': null,
116
+ 'declaration-property-value-keyword-no-deprecated': true,
109
117
  'declaration-property-value-no-unknown': true,
110
118
  'font-family-name-quotes': 'always-where-recommended',
111
119
  'font-family-no-duplicate-names': true,
@@ -133,6 +141,7 @@ export default {
133
141
  `Expected keyframe name "${name}" to be kebab-case`
134
142
  }
135
143
  ],
144
+ 'layer-name-pattern': null,
136
145
  'length-zero-no-unit': true,
137
146
  'lightness-notation': 'percentage',
138
147
  'max-nesting-depth': null,
@@ -145,13 +154,16 @@ export default {
145
154
  'media-feature-name-value-no-unknown': true,
146
155
  'media-feature-range-notation': 'context',
147
156
  'media-query-no-invalid': true,
157
+ 'media-type-no-deprecated': true,
148
158
  'named-grid-areas-no-invalid': true,
159
+ 'nesting-selector-no-missing-scoping-root': true,
149
160
  'no-descending-specificity': true,
150
161
  'no-duplicate-at-import-rules': true,
151
162
  'no-duplicate-selectors': true,
152
163
  'no-empty-source': true,
153
164
  'no-invalid-double-slash-comments': true,
154
165
  'no-invalid-position-at-import-rule': true,
166
+ 'no-invalid-position-declaration': true,
155
167
  'no-irregular-whitespace': true,
156
168
  'no-unknown-animations': true, // Added
157
169
  'no-unknown-custom-media': true,
@@ -159,6 +171,7 @@ export default {
159
171
  'number-max-precision': 4,
160
172
  'property-allowed-list': null,
161
173
  'property-disallowed-list': null,
174
+ 'property-no-deprecated': true,
162
175
  'property-no-unknown': true,
163
176
  'property-no-vendor-prefix': true,
164
177
  'rule-empty-line-before': [
@@ -220,6 +233,7 @@ export default {
220
233
  ],
221
234
  'shorthand-property-no-redundant-values': true,
222
235
  'string-no-newline': true,
236
+ 'syntax-string-no-invalid': true,
223
237
  'time-min-milliseconds': null,
224
238
  'unit-allowed-list': [
225
239
  // Changed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aarongoldenthal/stylelint-config-standard",
3
- "version": "19.0.0",
3
+ "version": "21.0.0",
4
4
  "description": "Standard StyleLint configuration settings",
5
5
  "exports": "./index.js",
6
6
  "type": "module",
@@ -25,7 +25,7 @@
25
25
  "author": "Aaron Goldenthal <npm@aarongoldenthal.com>",
26
26
  "license": "MIT",
27
27
  "engines": {
28
- "node": "^18.12.0 || ^20.9.0 || >=22.0.0"
28
+ "node": "^20.9.0 || ^22.11.0 || >=24.0.0"
29
29
  },
30
30
  "files": [
31
31
  "index.js"
@@ -35,21 +35,21 @@
35
35
  },
36
36
  "homepage": "https://gitlab.com/gitlab-ci-utils/node/stylelint-config-standard",
37
37
  "dependencies": {
38
- "postcss-html": "1.7.0",
39
- "stylelint-declaration-strict-value": "1.10.6",
40
- "stylelint-order": "6.0.4",
38
+ "postcss-html": "1.8.0",
39
+ "stylelint-declaration-strict-value": "1.10.11",
40
+ "stylelint-order": "7.0.0",
41
41
  "stylelint-use-logical-spec": "5.0.1"
42
42
  },
43
43
  "devDependencies": {
44
- "@aarongoldenthal/eslint-config-standard": "33.0.1",
45
- "@vitest/coverage-v8": "2.1.6",
46
- "eslint": "9.16.0",
47
- "markdownlint-cli2": "0.15.0",
48
- "prettier": "3.4.1",
49
- "stylelint": "16.11.0",
50
- "vitest": "2.1.6"
44
+ "@aarongoldenthal/eslint-config-standard": "39.0.0",
45
+ "@vitest/coverage-v8": "3.2.4",
46
+ "eslint": "9.32.0",
47
+ "markdownlint-cli2": "0.18.1",
48
+ "prettier": "3.6.2",
49
+ "stylelint": "16.23.0",
50
+ "vitest": "3.2.4"
51
51
  },
52
52
  "peerDependencies": {
53
- "stylelint": "^16.11.0"
53
+ "stylelint": "^16.14.0"
54
54
  }
55
55
  }