@primer/stylelint-config 13.4.1 → 13.4.2-rc.8735ae5
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/dist/index.cjs +5 -0
- package/dist/index.mjs +5 -0
- package/package.json +3 -3
- package/plugins/lib/utils.js +1 -0
package/dist/index.cjs
CHANGED
|
@@ -20,6 +20,7 @@ function primitivesVariables(type) {
|
|
|
20
20
|
break
|
|
21
21
|
case 'border':
|
|
22
22
|
files.push('functional/size/border.json');
|
|
23
|
+
files.push('functional/size/radius.json');
|
|
23
24
|
files.push('functional/themes/light.json');
|
|
24
25
|
break
|
|
25
26
|
case 'typography':
|
|
@@ -982,6 +983,7 @@ var index = {
|
|
|
982
983
|
importFrom: [
|
|
983
984
|
'@primer/primitives/dist/css/functional/size/size-coarse.css',
|
|
984
985
|
'@primer/primitives/dist/css/functional/size/border.css',
|
|
986
|
+
'@primer/primitives/dist/css/functional/size/radius.css',
|
|
985
987
|
'@primer/primitives/dist/css/functional/size/size.css',
|
|
986
988
|
'@primer/primitives/dist/css/functional/size/size-fine.css',
|
|
987
989
|
'@primer/primitives/dist/css/functional/size/breakpoints.css',
|
|
@@ -1087,6 +1089,9 @@ var index = {
|
|
|
1087
1089
|
'length-zero-no-unit': null,
|
|
1088
1090
|
'selector-max-type': null,
|
|
1089
1091
|
'primer/colors': null,
|
|
1092
|
+
// Disable nesting-selector-no-missing-scoping-root for CSS-in-JS
|
|
1093
|
+
// In styled-components, the & selector is valid and refers to the component itself
|
|
1094
|
+
'nesting-selector-no-missing-scoping-root': null,
|
|
1090
1095
|
},
|
|
1091
1096
|
},
|
|
1092
1097
|
{
|
package/dist/index.mjs
CHANGED
|
@@ -17,6 +17,7 @@ function primitivesVariables(type) {
|
|
|
17
17
|
break
|
|
18
18
|
case 'border':
|
|
19
19
|
files.push('functional/size/border.json');
|
|
20
|
+
files.push('functional/size/radius.json');
|
|
20
21
|
files.push('functional/themes/light.json');
|
|
21
22
|
break
|
|
22
23
|
case 'typography':
|
|
@@ -979,6 +980,7 @@ var index = {
|
|
|
979
980
|
importFrom: [
|
|
980
981
|
'@primer/primitives/dist/css/functional/size/size-coarse.css',
|
|
981
982
|
'@primer/primitives/dist/css/functional/size/border.css',
|
|
983
|
+
'@primer/primitives/dist/css/functional/size/radius.css',
|
|
982
984
|
'@primer/primitives/dist/css/functional/size/size.css',
|
|
983
985
|
'@primer/primitives/dist/css/functional/size/size-fine.css',
|
|
984
986
|
'@primer/primitives/dist/css/functional/size/breakpoints.css',
|
|
@@ -1084,6 +1086,9 @@ var index = {
|
|
|
1084
1086
|
'length-zero-no-unit': null,
|
|
1085
1087
|
'selector-max-type': null,
|
|
1086
1088
|
'primer/colors': null,
|
|
1089
|
+
// Disable nesting-selector-no-missing-scoping-root for CSS-in-JS
|
|
1090
|
+
// In styled-components, the & selector is valid and refers to the component itself
|
|
1091
|
+
'nesting-selector-no-missing-scoping-root': null,
|
|
1087
1092
|
},
|
|
1088
1093
|
},
|
|
1089
1094
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@primer/stylelint-config",
|
|
3
|
-
"version": "13.4.
|
|
3
|
+
"version": "13.4.2-rc.8735ae5",
|
|
4
4
|
"description": "Sharable stylelint config used by GitHub's CSS",
|
|
5
5
|
"author": "GitHub, Inc.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"string.prototype.matchall": "^4.0.2",
|
|
50
50
|
"stylelint": "^16.20.0",
|
|
51
51
|
"stylelint-browser-compat": "^1.0.0-beta.140",
|
|
52
|
-
"stylelint-config-standard": "^
|
|
52
|
+
"stylelint-config-standard": "^39.0.1",
|
|
53
53
|
"stylelint-scss": "^6.2.0",
|
|
54
54
|
"stylelint-value-no-unknown-custom-properties": "^6.0.1"
|
|
55
55
|
},
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"@changesets/changelog-github": "^0.5.0",
|
|
59
59
|
"@changesets/cli": "2.27.10",
|
|
60
60
|
"@github/prettier-config": "^0.0.6",
|
|
61
|
-
"@primer/primitives": "^11.
|
|
61
|
+
"@primer/primitives": "^11.4.0",
|
|
62
62
|
"@rollup/plugin-commonjs": "^28.0.0",
|
|
63
63
|
"@rollup/plugin-json": "^6.1.0",
|
|
64
64
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
package/plugins/lib/utils.js
CHANGED