@wistia/eslint-config 0.32.3 → 0.33.1

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wistia/eslint-config",
3
- "version": "0.32.3",
4
- "packageManager": "yarn@4.1.1",
3
+ "version": "0.33.1",
4
+ "packageManager": "yarn@4.3.0",
5
5
  "description": "Wistia's ESLint configurations",
6
6
  "main": "react.js",
7
7
  "files": [
@@ -40,25 +40,24 @@
40
40
  "test:stylelint": "stylelint --print-config ./test/index.mjs"
41
41
  },
42
42
  "dependencies": {
43
- "@babel/core": "^7.24.4",
44
- "@babel/eslint-parser": "^7.24.1",
45
- "@babel/preset-react": "^7.24.1",
46
- "@rushstack/eslint-patch": "^1.10.2",
47
- "@typescript-eslint/eslint-plugin": "^7.7.0",
48
- "@typescript-eslint/parser": "^7.7.0",
43
+ "@babel/core": "^7.24.7",
44
+ "@babel/eslint-parser": "^7.24.7",
45
+ "@babel/preset-react": "^7.24.7",
46
+ "@rushstack/eslint-patch": "^1.10.3",
47
+ "@typescript-eslint/eslint-plugin": "^7.13.0",
48
+ "@typescript-eslint/parser": "^7.13.0",
49
49
  "confusing-browser-globals": "^1.0.11",
50
50
  "eslint": "^8.57.0",
51
51
  "eslint-config-prettier": "^9.1.0",
52
52
  "eslint-import-resolver-typescript": "^3.6.1",
53
- "eslint-plugin-better-styled-components": "^1.1.2",
54
- "eslint-plugin-cypress": "^2.15.2",
53
+ "eslint-plugin-cypress": "^3.3.0",
55
54
  "eslint-plugin-filenames": "^1.3.2",
56
55
  "eslint-plugin-fp": "^2.3.0",
57
56
  "eslint-plugin-import": "^2.29.1",
58
- "eslint-plugin-jest": "^28.2.0",
59
- "eslint-plugin-jest-dom": "^5.2.0",
57
+ "eslint-plugin-jest": "^28.6.0",
58
+ "eslint-plugin-jest-dom": "^5.4.0",
60
59
  "eslint-plugin-jest-formatting": "^3.1.0",
61
- "eslint-plugin-jsdoc": "^48.2.3",
60
+ "eslint-plugin-jsdoc": "^48.2.9",
62
61
  "eslint-plugin-jsx-a11y": "^6.8.0",
63
62
  "eslint-plugin-no-only-tests": "^3.1.0",
64
63
  "eslint-plugin-no-snapshot-testing": "^1.0.61",
@@ -66,33 +65,36 @@
66
65
  "eslint-plugin-node": "^11.1.0",
67
66
  "eslint-plugin-observers": "^1.0.1",
68
67
  "eslint-plugin-prettier": "^5.1.3",
69
- "eslint-plugin-promise": "^6.1.1",
70
- "eslint-plugin-react": "^7.34.1",
71
- "eslint-plugin-react-hooks": "^4.6.0",
68
+ "eslint-plugin-promise": "^6.2.0",
69
+ "eslint-plugin-react": "^7.34.2",
70
+ "eslint-plugin-react-hooks": "^4.6.2",
72
71
  "eslint-plugin-react-hooks-ssr": "^0.1.5",
73
- "eslint-plugin-sonarjs": "^0.25.1",
72
+ "eslint-plugin-sonarjs": "^1.0.3",
74
73
  "eslint-plugin-ssr-friendly": "^1.3.0",
75
74
  "eslint-plugin-storybook": "^0.8.0",
76
- "eslint-plugin-styled-components-a11y": "^2.1.32",
75
+ "eslint-plugin-styled-components-a11y": "^2.1.34",
77
76
  "eslint-plugin-testing-library": "^6.2.2",
78
- "eslint-plugin-vitest": "^0.5.3",
77
+ "eslint-plugin-vitest": "^0.5.4",
79
78
  "eslint-plugin-vitest-globals": "^1.5.0",
80
79
  "postcss": "^8.4.38",
81
80
  "postcss-scss": "^4.0.9",
82
81
  "postcss-styled-syntax": "^0.6.4",
83
- "prettier": "^3.2.5",
84
- "stylelint": "^16.3.1",
82
+ "prettier": "^3.3.1",
83
+ "stylelint": "^16.6.1",
85
84
  "stylelint-declaration-block-no-ignored-properties": "^2.8.0",
86
85
  "stylelint-prettier": "^5.0.0",
87
- "stylelint-scss": "^6.2.1"
86
+ "stylelint-scss": "^6.3.1"
88
87
  },
89
88
  "devDependencies": {
90
- "@commitlint/cli": "^19.2.2",
89
+ "@commitlint/cli": "^19.3.0",
91
90
  "@commitlint/config-conventional": "^19.2.2",
92
91
  "check-export-map": "^1.3.1",
93
92
  "husky": "^9.0.11",
94
93
  "typescript": "^5.4.5",
95
- "vitest": "^1.5.0"
94
+ "vitest": "^1.6.0"
95
+ },
96
+ "resolutions": {
97
+ "postcss": ">=8.4.38"
96
98
  },
97
99
  "engines": {
98
100
  "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
@@ -1,9 +1,8 @@
1
1
  // only add styled-components rules
2
- // see: https://github.com/tinloof/eslint-plugin-better-styled-components#supported-rules
3
2
  // see: https://github.com/brendanmorrell/eslint-plugin-styled-components-a11y
4
3
 
5
4
  module.exports = {
6
- plugins: ['eslint-plugin-better-styled-components', 'eslint-plugin-styled-components-a11y'],
5
+ plugins: ['eslint-plugin-styled-components-a11y'],
7
6
 
8
7
  parserOptions: {
9
8
  ecmaFeatures: {
@@ -12,9 +11,6 @@ module.exports = {
12
11
  },
13
12
 
14
13
  rules: {
15
- // sort styled-component properties alphabetically
16
- 'better-styled-components/sort-declarations-alphabetically': 'error',
17
-
18
14
  // plugin does not provide definitions
19
15
  'styled-components-a11y/accessible-emoji': 'error',
20
16
  'styled-components-a11y/alt-text': 'error',