@wistia/eslint-config 0.17.0 → 0.17.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,6 +1,6 @@
1
1
  {
2
2
  "name": "@wistia/eslint-config",
3
- "version": "0.17.0",
3
+ "version": "0.17.1",
4
4
  "description": "Wistia's ESLint configurations",
5
5
  "main": "react.js",
6
6
  "exports": {
@@ -73,8 +73,8 @@
73
73
  "check-export-map": "^1.3.0",
74
74
  "husky": "^8.0.1",
75
75
  "jest": "^29.0.2",
76
- "jest-specific-snapshot": "^5.0.0",
77
- "typescript": "4.7.4"
76
+ "jest-specific-snapshot": "^7.0.0",
77
+ "typescript": "^4.9.3"
78
78
  },
79
79
  "engines": {
80
80
  "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
@@ -142,7 +142,7 @@ module.exports = {
142
142
 
143
143
  // Suggest using `expect.assertions()` OR `expect.hasAssertions()`
144
144
  // https://github.com/jest-community/eslint-plugin-jest/blob/main/docs/rules/prefer-expect-assertions.md
145
- 'jest/prefer-expect-assertions': 'error',
145
+ 'jest/prefer-expect-assertions': 'off',
146
146
 
147
147
  // Prefer `await expect(...).resolves` over `expect(await ...)` syntax
148
148
  // https://github.com/jest-community/eslint-plugin-jest/blob/main/docs/rules/prefer-expect-resolves.md
@@ -469,11 +469,12 @@ module.exports = {
469
469
  {
470
470
  ignore: [0, 1, 2, 3, 4, 5, 1000],
471
471
  ignoreArrayIndexes: true,
472
+ ignoreClassFieldInitialValues: true,
472
473
  ignoreDefaultValues: true,
473
- ignoreTypeIndexes: true,
474
- ignoreReadonlyClassProperties: true,
475
474
  ignoreEnums: true,
476
475
  ignoreNumericLiteralTypes: true,
476
+ ignoreReadonlyClassProperties: true,
477
+ ignoreTypeIndexes: true,
477
478
  },
478
479
  ],
479
480