@wistia/eslint-config 2.4.6 → 2.4.7

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.
@@ -29,7 +29,7 @@ jobs:
29
29
  uses: ./.github/actions/setup-node-env
30
30
 
31
31
  - name: Publish branch package to npm
32
- uses: wistia/publish-branch-to-npm@v2.3.5
32
+ uses: wistia/publish-branch-to-npm@v2.3.6
33
33
  with:
34
34
  github_token: ${{ secrets.GITHUB_TOKEN }}
35
35
  npm_token: ${{ secrets.NPM_AUTH_TOKEN }}
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @wistia/eslint-config
2
2
 
3
+ ## 2.4.7
4
+
5
+ ### Patch Changes
6
+
7
+ - [#463](https://github.com/wistia/eslint-config/pull/463) [`96f0593`](https://github.com/wistia/eslint-config/commit/96f0593748b91e9501ac31a77b8fca7c1f96fbdc) Thanks [@okize](https://github.com/okize)! - fix: disable `non-nullable-type-assertion-style` to resolve conflict with `no-non-null-assertion`
8
+
3
9
  ## 2.4.6
4
10
 
5
11
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wistia/eslint-config",
3
- "version": "2.4.6",
3
+ "version": "2.4.7",
4
4
  "description": "Wistia's ESLint configurations",
5
5
  "packageManager": "yarn@4.12.0",
6
6
  "type": "module",
@@ -42,8 +42,8 @@
42
42
  "@eslint/compat": "^2.0.3",
43
43
  "@eslint/js": "^10.0.1",
44
44
  "@stylistic/eslint-plugin": "^5.10.0",
45
- "@typescript-eslint/eslint-plugin": "^8.57.3-alpha.2",
46
- "@typescript-eslint/parser": "^8.57.3-alpha.2",
45
+ "@typescript-eslint/eslint-plugin": "^8.58.0",
46
+ "@typescript-eslint/parser": "^8.58.0",
47
47
  "@vitest/eslint-plugin": "^1.6.13",
48
48
  "confusing-browser-globals": "^1.0.11",
49
49
  "eslint-import-resolver-typescript": "^4.4.4",
@@ -64,7 +64,7 @@
64
64
  "eslint-plugin-styled-components-a11y": "^2.2.1",
65
65
  "eslint-plugin-testing-library": "^7.16.2",
66
66
  "globals": "^17.4.0",
67
- "globals-vitest": "^4.1.0"
67
+ "globals-vitest": "^4.1.2"
68
68
  },
69
69
  "devDependencies": {
70
70
  "@changesets/changelog-github": "^0.6.0",
@@ -78,7 +78,7 @@
78
78
  "prettier": "^3.8.1",
79
79
  "storybook": "^10.3.3",
80
80
  "typescript": "^6.0.2",
81
- "vitest": "^4.1.1"
81
+ "vitest": "^4.1.2"
82
82
  },
83
83
  "peerDependencies": {
84
84
  "eslint": ">= 10",
@@ -523,7 +523,9 @@ export default {
523
523
 
524
524
  // Enforce non-null assertions over explicit type casts
525
525
  // https://typescript-eslint.io/rules/non-nullable-type-assertion-style
526
- '@typescript-eslint/non-nullable-type-assertion-style': 'error',
526
+ // decision: disabled because it conflicts with `no-non-null-assertion` — this rule's autofix
527
+ // rewrites `value as T` to `value!`, which `no-non-null-assertion` then rejects
528
+ '@typescript-eslint/non-nullable-type-assertion-style': 'off',
527
529
 
528
530
  // Disallow throwing non-Error values as exceptions
529
531
  // https://typescript-eslint.io/rules/only-throw-error
@@ -64,7 +64,7 @@
64
64
  "undefined": false,
65
65
  "unescape": false,
66
66
  },
67
- "parser": "typescript-eslint/parser@8.57.3-alpha.2",
67
+ "parser": "typescript-eslint/parser@8.58.0",
68
68
  "parserOptions": {
69
69
  "requireConfigFile": false,
70
70
  },
@@ -64,7 +64,7 @@
64
64
  "undefined": false,
65
65
  "unescape": false,
66
66
  },
67
- "parser": "typescript-eslint/parser@8.57.3-alpha.2",
67
+ "parser": "typescript-eslint/parser@8.58.0",
68
68
  "parserOptions": {
69
69
  "ecmaVersion": 2024,
70
70
  "project": "./tsconfig.json",
@@ -78,7 +78,7 @@
78
78
  "plugins": [
79
79
  "@",
80
80
  "@stylistic:@stylistic/eslint-plugin@5.10.0",
81
- "@typescript-eslint:@typescript-eslint/eslint-plugin@8.57.3-alpha.2",
81
+ "@typescript-eslint:@typescript-eslint/eslint-plugin@8.58.0",
82
82
  "barrel-files:eslint-plugin-barrel-files@3.0.1",
83
83
  "filenames",
84
84
  "import-x:eslint-plugin-import-x@4.16.2",
@@ -1004,7 +1004,7 @@
1004
1004
  2,
1005
1005
  ],
1006
1006
  "@typescript-eslint/non-nullable-type-assertion-style": [
1007
- 2,
1007
+ 0,
1008
1008
  ],
1009
1009
  "@typescript-eslint/only-throw-error": [
1010
1010
  2,