@aarongoldenthal/stylelint-config-standard 18.0.1 → 20.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/LICENSE +1 -1
- package/README.md +1 -1
- package/index.js +10 -4
- package/package.json +11 -11
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
The MIT License (MIT)
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2021 -
|
|
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
|
|
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
|
@@ -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': [
|
|
@@ -30,18 +32,20 @@ export default {
|
|
|
30
32
|
],
|
|
31
33
|
'annotation-no-unknown': true,
|
|
32
34
|
'at-rule-allowed-list': null,
|
|
35
|
+
'at-rule-descriptor-no-unknown': true,
|
|
36
|
+
'at-rule-descriptor-value-no-unknown': true,
|
|
33
37
|
'at-rule-disallowed-list': null,
|
|
34
38
|
'at-rule-empty-line-before': [
|
|
35
39
|
'always',
|
|
36
40
|
{
|
|
37
|
-
// eslint-disable-next-line sonarjs/no-duplicate-string -- enumeration
|
|
38
41
|
except: ['blockless-after-same-name-blockless', 'first-nested'],
|
|
39
|
-
// eslint-disable-next-line sonarjs/no-duplicate-string -- enumeration
|
|
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,
|
|
47
51
|
'color-function-notation': 'modern',
|
|
@@ -62,7 +66,6 @@ export default {
|
|
|
62
66
|
'comment-whitespace-inside': 'always',
|
|
63
67
|
'comment-word-disallowed-list': null,
|
|
64
68
|
'custom-media-pattern': [
|
|
65
|
-
// eslint-disable-next-line sonarjs/no-duplicate-string -- enumeration
|
|
66
69
|
'^([a-z][a-z0-9]*)(-[a-z0-9]+)*$',
|
|
67
70
|
{
|
|
68
71
|
message: (name) =>
|
|
@@ -107,6 +110,7 @@ export default {
|
|
|
107
110
|
'declaration-property-unit-disallowed-list': null,
|
|
108
111
|
'declaration-property-value-allowed-list': null,
|
|
109
112
|
'declaration-property-value-disallowed-list': null,
|
|
113
|
+
'declaration-property-value-keyword-no-deprecated': true,
|
|
110
114
|
'declaration-property-value-no-unknown': true,
|
|
111
115
|
'font-family-name-quotes': 'always-where-recommended',
|
|
112
116
|
'font-family-no-duplicate-names': true,
|
|
@@ -141,9 +145,11 @@ export default {
|
|
|
141
145
|
'media-feature-name-disallowed-list': null,
|
|
142
146
|
'media-feature-name-no-unknown': true,
|
|
143
147
|
'media-feature-name-no-vendor-prefix': true,
|
|
148
|
+
'media-feature-name-unit-allowed-list': null,
|
|
144
149
|
'media-feature-name-value-allowed-list': null,
|
|
145
150
|
'media-feature-name-value-no-unknown': true,
|
|
146
151
|
'media-feature-range-notation': 'context',
|
|
152
|
+
'media-query-no-invalid': true,
|
|
147
153
|
'named-grid-areas-no-invalid': true,
|
|
148
154
|
'no-descending-specificity': true,
|
|
149
155
|
'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": "20.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.8.0",
|
|
39
|
+
"stylelint-declaration-strict-value": "1.10.7",
|
|
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": "
|
|
46
|
-
"eslint": "9.
|
|
47
|
-
"markdownlint-cli2": "0.
|
|
48
|
-
"prettier": "3.
|
|
49
|
-
"stylelint": "16.
|
|
50
|
-
"vitest": "
|
|
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"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
|
-
"stylelint": "^16.
|
|
53
|
+
"stylelint": "^16.14.0"
|
|
54
54
|
}
|
|
55
55
|
}
|