@aarongoldenthal/stylelint-config-standard 11.2.0 → 12.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 (2) hide show
  1. package/index.js +54 -1
  2. package/package.json +9 -9
package/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ /* eslint-disable max-lines, unicorn/no-null */
1
2
  'use strict';
2
3
 
3
4
  module.exports = {
@@ -29,6 +30,8 @@ module.exports = {
29
30
  }
30
31
  ],
31
32
  'annotation-no-unknown': true,
33
+ 'at-rule-allowed-list': null,
34
+ 'at-rule-disallowed-list': null,
32
35
  'at-rule-empty-line-before': [
33
36
  'always',
34
37
  {
@@ -43,6 +46,7 @@ module.exports = {
43
46
  'at-rule-name-space-after': 'always-single-line',
44
47
  'at-rule-no-unknown': true,
45
48
  'at-rule-no-vendor-prefix': true,
49
+ 'at-rule-property-required-list': null,
46
50
  'at-rule-semicolon-newline-after': 'always',
47
51
  'block-closing-brace-empty-line-before': 'never',
48
52
  'block-closing-brace-newline-after': 'always',
@@ -54,8 +58,11 @@ module.exports = {
54
58
  'block-opening-brace-space-after': 'always-single-line',
55
59
  'block-opening-brace-space-before': 'always',
56
60
  'color-function-notation': 'modern',
61
+ 'color-hex-alpha': null,
57
62
  'color-hex-case': 'lower',
58
63
  'color-hex-length': 'long', // Changed
64
+ 'color-named': 'never', // Added
65
+ 'color-no-hex': null,
59
66
  'color-no-invalid-hex': true,
60
67
  'comment-empty-line-before': [
61
68
  'always',
@@ -65,6 +72,8 @@ module.exports = {
65
72
  }
66
73
  ],
67
74
  'comment-no-empty': true,
75
+ 'comment-pattern': null,
76
+ 'comment-word-disallowed-list': null,
68
77
  'comment-whitespace-inside': 'always',
69
78
  'custom-property-empty-line-before': [
70
79
  'always',
@@ -98,13 +107,13 @@ module.exports = {
98
107
  ignore: ['consecutive-duplicates-with-different-values']
99
108
  }
100
109
  ],
110
+ 'declaration-block-no-redundant-longhand-properties': true,
101
111
  'declaration-block-no-shorthand-property-overrides': true,
102
112
  'declaration-block-semicolon-newline-after': 'always-multi-line',
103
113
  'declaration-block-semicolon-space-after': 'always-single-line',
104
114
  'declaration-block-semicolon-space-before': 'never',
105
115
  'declaration-block-single-line-max-declarations': 1,
106
116
  'declaration-block-trailing-semicolon': 'always',
107
- 'declaration-block-no-redundant-longhand-properties': true,
108
117
  'declaration-colon-newline-after': 'always-multi-line',
109
118
  'declaration-colon-space-after': 'always-single-line',
110
119
  'declaration-colon-space-before': 'never',
@@ -115,20 +124,32 @@ module.exports = {
115
124
  ignore: ['after-comment', 'inside-single-line-block']
116
125
  }
117
126
  ],
127
+ 'declaration-no-important': true, // Added
128
+ 'declaration-property-max-values': null,
129
+ 'declaration-property-unit-allowed-list': null,
130
+ 'declaration-property-unit-disallowed-list': null,
131
+ 'declaration-property-value-allowed-list': null,
132
+ 'declaration-property-value-disallowed-list': null,
118
133
  'font-family-name-quotes': 'always-where-recommended',
119
134
  'font-family-no-duplicate-names': true,
120
135
  'font-family-no-missing-generic-family-keyword': true,
136
+ 'font-weight-notation': 'named-where-possible', // Added
137
+ 'function-allowed-list': null,
121
138
  'function-calc-no-unspaced-operator': true,
122
139
  'function-comma-newline-after': 'always-multi-line',
123
140
  'function-comma-space-after': 'always-single-line',
124
141
  'function-comma-space-before': 'never',
142
+ 'function-disallowed-list': null,
125
143
  'function-linear-gradient-no-nonstandard-direction': true,
126
144
  'function-max-empty-lines': 0,
127
145
  'function-name-case': 'lower',
128
146
  'function-no-unknown': true,
129
147
  'function-parentheses-newline-inside': 'always-multi-line',
130
148
  'function-parentheses-space-inside': 'never-single-line',
149
+ 'function-url-no-scheme-relative': null,
131
150
  'function-url-quotes': 'always',
151
+ 'function-url-scheme-allowed-list': null,
152
+ 'function-url-scheme-disallowed-list': null,
132
153
  'function-whitespace-after': 'always',
133
154
  'hue-degree-notation': 'angle',
134
155
  'import-notation': 'url',
@@ -146,12 +167,17 @@ module.exports = {
146
167
  'length-zero-no-unit': true,
147
168
  'max-empty-lines': 1,
148
169
  'max-line-length': 120,
170
+ 'max-nesting-depth': null,
149
171
  'media-feature-colon-space-after': 'always',
150
172
  'media-feature-colon-space-before': 'never',
173
+ 'media-feature-name-allowed-list': null,
151
174
  'media-feature-name-case': 'lower',
175
+ 'media-feature-name-disallowed-list': null,
152
176
  'media-feature-name-no-unknown': true,
153
177
  'media-feature-name-no-vendor-prefix': true,
178
+ 'media-feature-name-value-allowed-list': null,
154
179
  'media-feature-parentheses-space-inside': 'never',
180
+ 'media-feature-range-notation': 'context',
155
181
  'media-feature-range-operator-space-after': 'always',
156
182
  'media-feature-range-operator-space-before': 'always',
157
183
  'media-query-list-comma-newline-after': 'always-multi-line',
@@ -169,10 +195,13 @@ module.exports = {
169
195
  'no-invalid-position-at-import-rule': true,
170
196
  'no-irregular-whitespace': true,
171
197
  'no-missing-end-of-source-newline': true,
198
+ 'no-unknown-animations': true, // Added
172
199
  'number-leading-zero': 'always',
173
200
  'number-max-precision': 4,
174
201
  'number-no-trailing-zeros': true,
202
+ 'property-allowed-list': null,
175
203
  'property-case': 'lower',
204
+ 'property-disallowed-list': null,
176
205
  'property-no-unknown': true,
177
206
  'property-no-vendor-prefix': true,
178
207
  'rule-empty-line-before': [
@@ -182,7 +211,11 @@ module.exports = {
182
211
  ignore: ['after-comment']
183
212
  }
184
213
  ],
214
+ 'rule-selector-property-disallowed-list': null,
185
215
  'selector-attribute-brackets-space-inside': 'never',
216
+ 'selector-attribute-name-disallowed-list': null,
217
+ 'selector-attribute-operator-allowed-list': null,
218
+ 'selector-attribute-operator-disallowed-list': null,
186
219
  'selector-attribute-operator-space-after': 'never',
187
220
  'selector-attribute-operator-space-before': 'never',
188
221
  'selector-attribute-quotes': 'always',
@@ -193,8 +226,11 @@ module.exports = {
193
226
  `Expected class selector "${selector}" to be kebab-case`
194
227
  }
195
228
  ],
229
+ 'selector-combinator-allowed-list': null,
230
+ 'selector-combinator-disallowed-list': null,
196
231
  'selector-combinator-space-after': 'always',
197
232
  'selector-combinator-space-before': 'always',
233
+ 'selector-disallowed-list': null,
198
234
  'selector-descendant-combinator-no-non-space': true,
199
235
  'selector-id-pattern': [
200
236
  '^([a-z][a-z0-9]*)(-[a-z0-9]+)*$',
@@ -205,14 +241,29 @@ module.exports = {
205
241
  ],
206
242
  'selector-list-comma-newline-after': 'always',
207
243
  'selector-list-comma-space-before': 'never',
244
+ 'selector-max-attribute': null,
245
+ 'selector-max-class': null,
246
+ 'selector-max-combinators': null,
247
+ 'selector-max-compound-selectors': null,
208
248
  'selector-max-empty-lines': 0,
249
+ 'selector-max-id': null,
250
+ 'selector-max-pseudo-class': null,
251
+ 'selector-max-specificity': null,
252
+ 'selector-max-type': null,
253
+ 'selector-max-universal': null,
254
+ 'selector-nested-pattern': null,
255
+ 'selector-no-qualifying-type': null,
209
256
  'selector-no-vendor-prefix': true,
210
257
  'selector-not-notation': 'complex',
258
+ 'selector-pseudo-class-allowed-list': null,
211
259
  'selector-pseudo-class-case': 'lower',
260
+ 'selector-pseudo-class-disallowed-list': null,
212
261
  'selector-pseudo-class-no-unknown': true,
213
262
  'selector-pseudo-class-parentheses-space-inside': 'never',
263
+ 'selector-pseudo-element-allowed-list': null,
214
264
  'selector-pseudo-element-case': 'lower',
215
265
  'selector-pseudo-element-colon-notation': 'double',
266
+ 'selector-pseudo-element-disallowed-list': null,
216
267
  'selector-pseudo-element-no-unknown': true,
217
268
  'selector-type-case': 'lower',
218
269
  'selector-type-no-unknown': [
@@ -224,6 +275,7 @@ module.exports = {
224
275
  'shorthand-property-no-redundant-values': true,
225
276
  'string-no-newline': true,
226
277
  'string-quotes': 'double',
278
+ 'time-min-milliseconds': null,
227
279
  'unit-allowed-list': [
228
280
  // Changed
229
281
  '%',
@@ -239,6 +291,7 @@ module.exports = {
239
291
  `vw`
240
292
  ],
241
293
  'unit-case': 'lower',
294
+ 'unit-disallowed-list': null,
242
295
  'unit-no-unknown': true,
243
296
  'value-keyword-case': 'lower',
244
297
  'value-list-comma-newline-after': 'always-multi-line',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aarongoldenthal/stylelint-config-standard",
3
- "version": "11.2.0",
3
+ "version": "12.0.0",
4
4
  "description": "Standard StyleLint configuration settings",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -16,7 +16,7 @@
16
16
  },
17
17
  "repository": {
18
18
  "type": "git",
19
- "url": "git+https://gitlab.com/gitlab-ci-utils/node/stylelint-config-standard.git"
19
+ "url": "https://gitlab.com/gitlab-ci-utils/node/stylelint-config-standard.git"
20
20
  },
21
21
  "keywords": [
22
22
  "stylelint"
@@ -35,18 +35,18 @@
35
35
  "homepage": "https://gitlab.com/gitlab-ci-utils/node/stylelint-config-standard",
36
36
  "dependencies": {
37
37
  "postcss-html": "^1.5.0",
38
- "stylelint-config-prettier": "^9.0.3",
38
+ "stylelint-config-prettier": "^9.0.4",
39
39
  "stylelint-csstree-validator": "^2.0.0",
40
40
  "stylelint-order": "^5.0.0"
41
41
  },
42
42
  "devDependencies": {
43
- "@aarongoldenthal/eslint-config-standard": "^17.0.1",
44
- "eslint": "^8.26.0",
45
- "jest": "^29.2.1",
46
- "jest-junit": "^14.0.1",
43
+ "@aarongoldenthal/eslint-config-standard": "^18.0.0",
44
+ "eslint": "^8.29.0",
45
+ "jest": "^29.3.1",
46
+ "jest-junit": "^15.0.0",
47
47
  "markdownlint-cli": "^0.32.2",
48
- "prettier": "^2.7.1",
49
- "stylelint": "^14.14.0"
48
+ "prettier": "^2.8.1",
49
+ "stylelint": "^14.16.0"
50
50
  },
51
51
  "peerDependencies": {
52
52
  "stylelint": "^14.11.0"