@primer/stylelint-config 13.0.0-rc.3fc3c9a → 13.0.0-rc.78170fc

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 CHANGED
@@ -1658,9 +1658,8 @@ var index = {
1658
1658
  },
1659
1659
  {
1660
1660
  files: ['**/*.module.css'],
1661
+ plugins: ['stylelint-css-modules-no-global-scoped-selector'],
1661
1662
  rules: {
1662
- // Don't support nesting until it's more broadly shipped
1663
- 'max-nesting-depth': [0],
1664
1663
  'property-no-unknown': [
1665
1664
  true,
1666
1665
  {
@@ -1684,6 +1683,7 @@ var index = {
1684
1683
  ignoreFunctions: ['global'],
1685
1684
  },
1686
1685
  ],
1686
+ 'css-modules/no-global-scoped-selector': true,
1687
1687
  // temporarily disabiling Primer plugins while we work on upgrades https://github.com/github/primer/issues/3165
1688
1688
  'primer/spacing': null,
1689
1689
  'primer/borders': null,
package/dist/index.mjs CHANGED
@@ -1655,9 +1655,8 @@ var index = {
1655
1655
  },
1656
1656
  {
1657
1657
  files: ['**/*.module.css'],
1658
+ plugins: ['stylelint-css-modules-no-global-scoped-selector'],
1658
1659
  rules: {
1659
- // Don't support nesting until it's more broadly shipped
1660
- 'max-nesting-depth': [0],
1661
1660
  'property-no-unknown': [
1662
1661
  true,
1663
1662
  {
@@ -1681,6 +1680,7 @@ var index = {
1681
1680
  ignoreFunctions: ['global'],
1682
1681
  },
1683
1682
  ],
1683
+ 'css-modules/no-global-scoped-selector': true,
1684
1684
  // temporarily disabiling Primer plugins while we work on upgrades https://github.com/github/primer/issues/3165
1685
1685
  'primer/spacing': null,
1686
1686
  'primer/borders': null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/stylelint-config",
3
- "version": "13.0.0-rc.3fc3c9a",
3
+ "version": "13.0.0-rc.78170fc",
4
4
  "description": "Sharable stylelint config used by GitHub's CSS",
5
5
  "author": "GitHub, Inc.",
6
6
  "license": "MIT",
@@ -53,16 +53,22 @@
53
53
  "string.prototype.matchall": "^4.0.2",
54
54
  "stylelint": "^16.3.1",
55
55
  "stylelint-config-standard": "^36.0.0",
56
+ "stylelint-css-modules-no-global-scoped-selector": "^1.0.2",
56
57
  "stylelint-no-unsupported-browser-features": "^8.0.0",
57
58
  "stylelint-order": "^6.0.4",
58
59
  "stylelint-scss": "^6.2.0",
59
60
  "stylelint-value-no-unknown-custom-properties": "^6.0.1",
60
61
  "tap-map": "^1.0.0"
61
62
  },
63
+ "overrides": {
64
+ "stylelint-css-modules-no-global-scoped-selector": {
65
+ "stylelint": "$stylelint"
66
+ }
67
+ },
62
68
  "prettier": "@github/prettier-config",
63
69
  "devDependencies": {
64
70
  "@changesets/changelog-github": "^0.5.0",
65
- "@changesets/cli": "2.26.1",
71
+ "@changesets/cli": "2.27.1",
66
72
  "@github/prettier-config": "^0.0.6",
67
73
  "@rollup/plugin-commonjs": "^25.0.7",
68
74
  "@rollup/plugin-json": "^6.1.0",