@wistia/eslint-config 0.41.1 → 0.41.2

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.
@@ -1,5 +1,5 @@
1
1
  module.exports = {
2
- plugins: ['stylelint-prettier'],
2
+ plugins: ['stylelint-prettier', '@jantimon/stylelint-enforce-pseudo-ampersand'],
3
3
  extends: ['../../rules/stylelint/css.cjs'].map(require.resolve),
4
4
  rules: {
5
5
  // prettier configuration
@@ -1,5 +1,5 @@
1
1
  module.exports = {
2
- plugins: ['stylelint-prettier', 'stylelint-scss'],
2
+ plugins: ['stylelint-prettier', 'stylelint-scss', '@jantimon/stylelint-enforce-pseudo-ampersand'],
3
3
  extends: ['../../rules/stylelint/css.cjs', '../../rules/stylelint/scss.cjs'].map(require.resolve),
4
4
  customSyntax: require('postcss-scss'),
5
5
  rules: {
@@ -1,5 +1,9 @@
1
1
  module.exports = {
2
- plugins: ['stylelint-prettier', 'stylelint-declaration-block-no-ignored-properties'],
2
+ plugins: [
3
+ 'stylelint-prettier',
4
+ 'stylelint-declaration-block-no-ignored-properties',
5
+ '@jantimon/stylelint-enforce-pseudo-ampersand',
6
+ ],
3
7
  extends: ['../../rules/stylelint/css.cjs', '../../rules/stylelint/styled-components.cjs'].map(
4
8
  require.resolve,
5
9
  ),
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@wistia/eslint-config",
3
- "version": "0.41.1",
3
+ "version": "0.41.2",
4
4
  "description": "Wistia's ESLint configurations",
5
- "packageManager": "yarn@4.8.1",
5
+ "packageManager": "yarn@4.9.2",
6
6
  "main": "react.js",
7
7
  "files": [
8
8
  "/configs",
@@ -57,27 +57,28 @@
57
57
  "@babel/core": "^7.27.4",
58
58
  "@babel/eslint-parser": "^7.27.5",
59
59
  "@babel/preset-react": "^7.27.1",
60
+ "@jantimon/stylelint-enforce-pseudo-ampersand": "^1.0.2",
60
61
  "@rushstack/eslint-patch": "^1.11.0",
61
- "@typescript-eslint/eslint-plugin": "^8.34.0",
62
- "@typescript-eslint/parser": "^8.34.0",
62
+ "@typescript-eslint/eslint-plugin": "^8.34.1",
63
+ "@typescript-eslint/parser": "^8.34.1",
63
64
  "confusing-browser-globals": "^1.0.11",
64
65
  "eslint": "^8.57.1",
65
66
  "eslint-config-prettier": "^10.1.5",
66
- "eslint-import-resolver-typescript": "^3.10.1",
67
+ "eslint-import-resolver-typescript": "^4.4.3",
67
68
  "eslint-plugin-cypress": "^3.6.0",
68
69
  "eslint-plugin-filenames": "^1.3.2",
69
70
  "eslint-plugin-fp": "^2.3.0",
70
71
  "eslint-plugin-import": "^2.31.0",
71
- "eslint-plugin-jest": "^28.13.3",
72
+ "eslint-plugin-jest": "^28.14.0",
72
73
  "eslint-plugin-jest-dom": "^5.5.0",
73
74
  "eslint-plugin-jest-formatting": "^3.1.0",
74
75
  "eslint-plugin-jsx-a11y": "^6.10.2",
75
- "eslint-plugin-n": "^17.19.0",
76
+ "eslint-plugin-n": "^17.20.0",
76
77
  "eslint-plugin-no-only-tests": "^3.3.0",
77
78
  "eslint-plugin-no-snapshot-testing": "^1.0.61",
78
79
  "eslint-plugin-no-typeof-window-undefined": "^0.0.2",
79
80
  "eslint-plugin-observers": "^1.0.1",
80
- "eslint-plugin-prettier": "^5.4.1",
81
+ "eslint-plugin-prettier": "^5.5.0",
81
82
  "eslint-plugin-promise": "^7.2.1",
82
83
  "eslint-plugin-react": "^7.37.5",
83
84
  "eslint-plugin-react-compiler": "^19.1.0-rc.2",
@@ -87,26 +88,26 @@
87
88
  "eslint-plugin-ssr-friendly": "^1.3.0",
88
89
  "eslint-plugin-storybook": "^0.12.0",
89
90
  "eslint-plugin-styled-components-a11y": "^2.2.1",
90
- "eslint-plugin-testing-library": "^7.5.2",
91
+ "eslint-plugin-testing-library": "^7.5.3",
91
92
  "eslint-plugin-vitest": "^0.5.4",
92
93
  "eslint-plugin-vitest-globals": "^1.5.0",
93
- "postcss": "^8.5.5",
94
+ "postcss": "^8.5.6",
94
95
  "postcss-scss": "^4.0.9",
95
96
  "postcss-styled-syntax": "^0.7.1",
96
97
  "prettier": "^3.5.3",
97
- "stylelint": "^16.20.0",
98
+ "stylelint": "^16.21.0",
98
99
  "stylelint-declaration-block-no-ignored-properties": "^2.8.0",
99
100
  "stylelint-prettier": "^5.0.3",
100
101
  "stylelint-scss": "^6.12.1"
101
102
  },
102
103
  "devDependencies": {
103
104
  "@changesets/changelog-github": "^0.5.1",
104
- "@changesets/cli": "^2.29.4",
105
+ "@changesets/cli": "^2.29.5",
105
106
  "@commitlint/cli": "^19.8.1",
106
107
  "@commitlint/config-conventional": "^19.8.1",
107
108
  "check-export-map": "^1.3.1",
108
109
  "husky": "^9.1.7",
109
110
  "typescript": "^5.8.3",
110
- "vitest": "^3.2.3"
111
+ "vitest": "^3.2.4"
111
112
  }
112
113
  }
@@ -165,5 +165,8 @@ module.exports = {
165
165
  ignoreValues: ['box', 'inline-box'],
166
166
  },
167
167
  ],
168
+
169
+ // https://github.com/jantimon/stylelint-enforce-pseudo-ampersand?tab=readme-ov-file#usage
170
+ 'jantimon/stylelint-enforce-pseudo-ampersand': 'always',
168
171
  },
169
172
  };