@aarongoldenthal/stylelint-config-standard 20.0.0 → 21.0.1

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.js +10 -0
  2. package/package.json +12 -12
package/index.js CHANGED
@@ -48,6 +48,8 @@ export default {
48
48
  'at-rule-prelude-no-invalid': true,
49
49
  'at-rule-property-required-list': null,
50
50
  'block-no-empty': true,
51
+ 'block-no-redundant-nested-style-rules': true,
52
+ 'color-function-alias-notation': 'without-alpha',
51
53
  'color-function-notation': 'modern',
52
54
  'color-hex-alpha': null,
53
55
  'color-hex-length': 'long', // Changed
@@ -65,6 +67,7 @@ export default {
65
67
  'comment-pattern': null,
66
68
  'comment-whitespace-inside': 'always',
67
69
  'comment-word-disallowed-list': null,
70
+ 'container-name-pattern': null,
68
71
  'custom-media-pattern': [
69
72
  '^([a-z][a-z0-9]*)(-[a-z0-9]+)*$',
70
73
  {
@@ -138,6 +141,7 @@ export default {
138
141
  `Expected keyframe name "${name}" to be kebab-case`
139
142
  }
140
143
  ],
144
+ 'layer-name-pattern': null,
141
145
  'length-zero-no-unit': true,
142
146
  'lightness-notation': 'percentage',
143
147
  'max-nesting-depth': null,
@@ -150,13 +154,16 @@ export default {
150
154
  'media-feature-name-value-no-unknown': true,
151
155
  'media-feature-range-notation': 'context',
152
156
  'media-query-no-invalid': true,
157
+ 'media-type-no-deprecated': true,
153
158
  'named-grid-areas-no-invalid': true,
159
+ 'nesting-selector-no-missing-scoping-root': true,
154
160
  'no-descending-specificity': true,
155
161
  'no-duplicate-at-import-rules': true,
156
162
  'no-duplicate-selectors': true,
157
163
  'no-empty-source': true,
158
164
  'no-invalid-double-slash-comments': true,
159
165
  'no-invalid-position-at-import-rule': true,
166
+ 'no-invalid-position-declaration': true,
160
167
  'no-irregular-whitespace': true,
161
168
  'no-unknown-animations': true, // Added
162
169
  'no-unknown-custom-media': true,
@@ -164,6 +171,7 @@ export default {
164
171
  'number-max-precision': 4,
165
172
  'property-allowed-list': null,
166
173
  'property-disallowed-list': null,
174
+ 'property-no-deprecated': true,
167
175
  'property-no-unknown': true,
168
176
  'property-no-vendor-prefix': true,
169
177
  'rule-empty-line-before': [
@@ -173,6 +181,7 @@ export default {
173
181
  ignore: ['after-comment']
174
182
  }
175
183
  ],
184
+ 'rule-nesting-at-rule-required-list': null,
176
185
  'rule-selector-property-disallowed-list': null,
177
186
  'selector-anb-no-unmatchable': true,
178
187
  'selector-attribute-name-disallowed-list': null,
@@ -225,6 +234,7 @@ export default {
225
234
  ],
226
235
  'shorthand-property-no-redundant-values': true,
227
236
  'string-no-newline': true,
237
+ 'syntax-string-no-invalid': true,
228
238
  'time-min-milliseconds': null,
229
239
  'unit-allowed-list': [
230
240
  // Changed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aarongoldenthal/stylelint-config-standard",
3
- "version": "20.0.0",
3
+ "version": "21.0.1",
4
4
  "description": "Standard StyleLint configuration settings",
5
5
  "exports": "./index.js",
6
6
  "type": "module",
@@ -12,7 +12,7 @@
12
12
  "lint:md": "markdownlint-cli2 \"**/*.md\" \"#node_modules\"",
13
13
  "prettier:check": "prettier --check .",
14
14
  "prettier:fix": "prettier --write .",
15
- "test": "vitest run --coverage",
15
+ "test": "vitest run",
16
16
  "test:no-coverage": "vitest run"
17
17
  },
18
18
  "repository": {
@@ -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"
@@ -36,18 +36,18 @@
36
36
  "homepage": "https://gitlab.com/gitlab-ci-utils/node/stylelint-config-standard",
37
37
  "dependencies": {
38
38
  "postcss-html": "1.8.0",
39
- "stylelint-declaration-strict-value": "1.10.7",
40
- "stylelint-order": "6.0.4",
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": "34.0.0",
45
- "@vitest/coverage-v8": "3.0.4",
46
- "eslint": "9.19.0",
47
- "markdownlint-cli2": "0.17.2",
48
- "prettier": "3.4.2",
49
- "stylelint": "16.14.0",
50
- "vitest": "3.0.4"
44
+ "@aarongoldenthal/eslint-config-standard": "41.0.0",
45
+ "@vitest/coverage-v8": "4.0.6",
46
+ "eslint": "9.39.0",
47
+ "markdownlint-cli2": "0.18.1",
48
+ "prettier": "3.6.2",
49
+ "stylelint": "16.25.0",
50
+ "vitest": "4.0.6"
51
51
  },
52
52
  "peerDependencies": {
53
53
  "stylelint": "^16.14.0"