@aarongoldenthal/stylelint-config-standard 18.0.0 → 19.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.
- package/index.js +5 -4
- package/package.json +11 -11
package/index.js
CHANGED
|
@@ -3,7 +3,8 @@ export default {
|
|
|
3
3
|
overrides: [
|
|
4
4
|
{
|
|
5
5
|
customSyntax: 'postcss-html',
|
|
6
|
-
files: ['**/*.html', '**/*.handlebars']
|
|
6
|
+
files: ['**/*.html', '**/*.handlebars'],
|
|
7
|
+
name: 'Update syntax for HTML and template files'
|
|
7
8
|
}
|
|
8
9
|
],
|
|
9
10
|
plugins: [
|
|
@@ -14,6 +15,7 @@ export default {
|
|
|
14
15
|
reportDescriptionlessDisables: true,
|
|
15
16
|
reportInvalidScopeDisables: true,
|
|
16
17
|
reportNeedlessDisables: true,
|
|
18
|
+
reportUnscopedDisables: true,
|
|
17
19
|
// Based on https://www.npmjs.com/package/stylelint-config-standard, with some changes
|
|
18
20
|
rules: {
|
|
19
21
|
'alpha-value-notation': [
|
|
@@ -34,9 +36,7 @@ export default {
|
|
|
34
36
|
'at-rule-empty-line-before': [
|
|
35
37
|
'always',
|
|
36
38
|
{
|
|
37
|
-
// eslint-disable-next-line sonarjs/no-duplicate-string -- enumeration
|
|
38
39
|
except: ['blockless-after-same-name-blockless', 'first-nested'],
|
|
39
|
-
// eslint-disable-next-line sonarjs/no-duplicate-string -- enumeration
|
|
40
40
|
ignore: ['after-comment']
|
|
41
41
|
}
|
|
42
42
|
],
|
|
@@ -62,7 +62,6 @@ export default {
|
|
|
62
62
|
'comment-whitespace-inside': 'always',
|
|
63
63
|
'comment-word-disallowed-list': null,
|
|
64
64
|
'custom-media-pattern': [
|
|
65
|
-
// eslint-disable-next-line sonarjs/no-duplicate-string -- enumeration
|
|
66
65
|
'^([a-z][a-z0-9]*)(-[a-z0-9]+)*$',
|
|
67
66
|
{
|
|
68
67
|
message: (name) =>
|
|
@@ -141,9 +140,11 @@ export default {
|
|
|
141
140
|
'media-feature-name-disallowed-list': null,
|
|
142
141
|
'media-feature-name-no-unknown': true,
|
|
143
142
|
'media-feature-name-no-vendor-prefix': true,
|
|
143
|
+
'media-feature-name-unit-allowed-list': null,
|
|
144
144
|
'media-feature-name-value-allowed-list': null,
|
|
145
145
|
'media-feature-name-value-no-unknown': true,
|
|
146
146
|
'media-feature-range-notation': 'context',
|
|
147
|
+
'media-query-no-invalid': true,
|
|
147
148
|
'named-grid-areas-no-invalid': true,
|
|
148
149
|
'no-descending-specificity': true,
|
|
149
150
|
'no-duplicate-at-import-rules': true,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aarongoldenthal/stylelint-config-standard",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "19.0.0",
|
|
4
4
|
"description": "Standard StyleLint configuration settings",
|
|
5
5
|
"exports": "./index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -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.
|
|
39
|
-
"stylelint-declaration-strict-value": "1.10.
|
|
38
|
+
"postcss-html": "1.7.0",
|
|
39
|
+
"stylelint-declaration-strict-value": "1.10.6",
|
|
40
40
|
"stylelint-order": "6.0.4",
|
|
41
41
|
"stylelint-use-logical-spec": "5.0.1"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@aarongoldenthal/eslint-config-standard": "
|
|
45
|
-
"@vitest/coverage-v8": "1.
|
|
46
|
-
"eslint": "
|
|
47
|
-
"markdownlint-cli2": "0.
|
|
48
|
-
"prettier": "3.
|
|
49
|
-
"stylelint": "16.
|
|
50
|
-
"vitest": "1.
|
|
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"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
|
-
"stylelint": "^16.
|
|
53
|
+
"stylelint": "^16.11.0"
|
|
54
54
|
}
|
|
55
55
|
}
|