@wistia/eslint-config 0.32.2 → 0.32.3

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.2",
4
- "packageManager": "yarn@4.1.0",
3
+ "version": "0.32.3",
4
+ "packageManager": "yarn@4.1.1",
5
5
  "description": "Wistia's ESLint configurations",
6
6
  "main": "react.js",
7
7
  "files": [
@@ -40,26 +40,25 @@
40
40
  "test:stylelint": "stylelint --print-config ./test/index.mjs"
41
41
  },
42
42
  "dependencies": {
43
- "@babel/core": "^7.23.9",
44
- "@babel/eslint-parser": "^7.23.10",
45
- "@babel/preset-react": "^7.23.3",
46
- "@rushstack/eslint-patch": "^1.7.2",
47
- "@testing-library/dom": "^9.3.4",
48
- "@typescript-eslint/eslint-plugin": "^7.1.0",
49
- "@typescript-eslint/parser": "^7.1.0",
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",
50
49
  "confusing-browser-globals": "^1.0.11",
51
50
  "eslint": "^8.57.0",
52
51
  "eslint-config-prettier": "^9.1.0",
53
52
  "eslint-import-resolver-typescript": "^3.6.1",
54
53
  "eslint-plugin-better-styled-components": "^1.1.2",
55
- "eslint-plugin-cypress": "^2.15.1",
54
+ "eslint-plugin-cypress": "^2.15.2",
56
55
  "eslint-plugin-filenames": "^1.3.2",
57
56
  "eslint-plugin-fp": "^2.3.0",
58
57
  "eslint-plugin-import": "^2.29.1",
59
- "eslint-plugin-jest": "^27.9.0",
60
- "eslint-plugin-jest-dom": "^5.1.0",
58
+ "eslint-plugin-jest": "^28.2.0",
59
+ "eslint-plugin-jest-dom": "^5.2.0",
61
60
  "eslint-plugin-jest-formatting": "^3.1.0",
62
- "eslint-plugin-jsdoc": "^48.2.0",
61
+ "eslint-plugin-jsdoc": "^48.2.3",
63
62
  "eslint-plugin-jsx-a11y": "^6.8.0",
64
63
  "eslint-plugin-no-only-tests": "^3.1.0",
65
64
  "eslint-plugin-no-snapshot-testing": "^1.0.61",
@@ -68,32 +67,32 @@
68
67
  "eslint-plugin-observers": "^1.0.1",
69
68
  "eslint-plugin-prettier": "^5.1.3",
70
69
  "eslint-plugin-promise": "^6.1.1",
71
- "eslint-plugin-react": "^7.33.2",
70
+ "eslint-plugin-react": "^7.34.1",
72
71
  "eslint-plugin-react-hooks": "^4.6.0",
73
72
  "eslint-plugin-react-hooks-ssr": "^0.1.5",
74
- "eslint-plugin-sonarjs": "^0.24.0",
73
+ "eslint-plugin-sonarjs": "^0.25.1",
75
74
  "eslint-plugin-ssr-friendly": "^1.3.0",
76
75
  "eslint-plugin-storybook": "^0.8.0",
77
76
  "eslint-plugin-styled-components-a11y": "^2.1.32",
78
- "eslint-plugin-testing-library": "^6.2.0",
79
- "eslint-plugin-vitest": "^0.3.22",
80
- "eslint-plugin-vitest-globals": "^1.4.0",
81
- "postcss": "^8.4.35",
77
+ "eslint-plugin-testing-library": "^6.2.2",
78
+ "eslint-plugin-vitest": "^0.5.3",
79
+ "eslint-plugin-vitest-globals": "^1.5.0",
80
+ "postcss": "^8.4.38",
82
81
  "postcss-scss": "^4.0.9",
83
82
  "postcss-styled-syntax": "^0.6.4",
84
83
  "prettier": "^3.2.5",
85
- "stylelint": "^16.2.1",
84
+ "stylelint": "^16.3.1",
86
85
  "stylelint-declaration-block-no-ignored-properties": "^2.8.0",
87
86
  "stylelint-prettier": "^5.0.0",
88
- "stylelint-scss": "^6.1.0"
87
+ "stylelint-scss": "^6.2.1"
89
88
  },
90
89
  "devDependencies": {
91
- "@commitlint/cli": "^19.0.0",
92
- "@commitlint/config-conventional": "^19.0.0",
90
+ "@commitlint/cli": "^19.2.2",
91
+ "@commitlint/config-conventional": "^19.2.2",
93
92
  "check-export-map": "^1.3.1",
94
93
  "husky": "^9.0.11",
95
- "typescript": "^5.3.3",
96
- "vitest": "^1.3.1"
94
+ "typescript": "^5.4.5",
95
+ "vitest": "^1.5.0"
97
96
  },
98
97
  "engines": {
99
98
  "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
@@ -51,7 +51,7 @@ module.exports = {
51
51
 
52
52
  // Cognitive Complexity of functions should not be too high
53
53
  // https://github.com/SonarSource/eslint-plugin-sonarjs/blob/master/docs/rules/cognitive-complexity.md
54
- 'sonarjs/cognitive-complexity': 'error',
54
+ 'sonarjs/cognitive-complexity': ['error', 20],
55
55
 
56
56
  // "if ... else if" constructs should end with "else" clauses
57
57
  // https://github.com/SonarSource/eslint-plugin-sonarjs/blob/master/docs/rules/elseif-without-else.md