@wistia/eslint-config 0.13.3 → 0.13.4
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 +3 -3
- package/rules/eslint/jest.js +1 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wistia/eslint-config",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.4",
|
|
4
4
|
"description": "Wistia's ESLint configurations",
|
|
5
5
|
"main": "react.js",
|
|
6
6
|
"exports": {
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"eslint-plugin-better-styled-components": "^1.1.2",
|
|
41
41
|
"eslint-plugin-cypress": "^2.12.1",
|
|
42
42
|
"eslint-plugin-import": "^2.26.0",
|
|
43
|
-
"eslint-plugin-jest": "^
|
|
43
|
+
"eslint-plugin-jest": "^27.0.1",
|
|
44
44
|
"eslint-plugin-jest-dom": "^4.0.2",
|
|
45
45
|
"eslint-plugin-jest-formatting": "^3.1.0",
|
|
46
46
|
"eslint-plugin-jsx-a11y": "^6.6.1",
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"@commitlint/config-conventional": "^17.0.3",
|
|
72
72
|
"check-export-map": "^1.3.0",
|
|
73
73
|
"husky": "^8.0.1",
|
|
74
|
-
"jest": "^
|
|
74
|
+
"jest": "^29.0.2",
|
|
75
75
|
"jest-specific-snapshot": "^5.0.0"
|
|
76
76
|
},
|
|
77
77
|
"engines": {
|
package/rules/eslint/jest.js
CHANGED
|
@@ -92,10 +92,6 @@ module.exports = {
|
|
|
92
92
|
// https://github.com/jest-community/eslint-plugin-jest/blob/main/docs/rules/no-jasmine-globals.md
|
|
93
93
|
'jest/no-jasmine-globals': 'error',
|
|
94
94
|
|
|
95
|
-
// Disallow importing Jest
|
|
96
|
-
// https://github.com/jest-community/eslint-plugin-jest/blob/main/docs/rules/no-jest-import.md
|
|
97
|
-
'jest/no-jest-import': 'error',
|
|
98
|
-
|
|
99
95
|
// disallow large snapshots
|
|
100
96
|
// https://github.com/jest-community/eslint-plugin-jest/blob/main/docs/rules/no-large-snapshots.md
|
|
101
97
|
// decision: arbitrary but reasonable size limit
|
|
@@ -107,7 +103,7 @@ module.exports = {
|
|
|
107
103
|
|
|
108
104
|
// Disallow specific matchers & modifiers
|
|
109
105
|
// https://github.com/jest-community/eslint-plugin-jest/blob/main/docs/rules/no-restricted-matchers.md
|
|
110
|
-
'jest/no-restricted-matchers': 'error',
|
|
106
|
+
'jest/no-restricted-matchers': ['error', {}],
|
|
111
107
|
|
|
112
108
|
// Disallow using `expect` outside of `it` or `test` blocks
|
|
113
109
|
// https://github.com/jest-community/eslint-plugin-jest/blob/main/docs/rules/no-standalone-expect.md
|