@wistia/eslint-config 2.5.0 → 2.5.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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @wistia/eslint-config
|
|
2
2
|
|
|
3
|
+
## 2.5.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#472](https://github.com/wistia/eslint-config/pull/472) [`1afe645`](https://github.com/wistia/eslint-config/commit/1afe6453b02ff4d480f0e1da118085f13a21104f) Thanks [@okize](https://github.com/okize)! - fix: turn off `@typescript-eslint/no-invalid-this` as `noImplicitThis` in tsconfig is preferred
|
|
8
|
+
|
|
3
9
|
## 2.5.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
package/package.json
CHANGED
package/src/rules/typescript.mjs
CHANGED
|
@@ -32,9 +32,7 @@ export default {
|
|
|
32
32
|
// decision: prefer @typescript-eslint/no-implied-eval
|
|
33
33
|
'no-implied-eval': 'off',
|
|
34
34
|
|
|
35
|
-
//
|
|
36
|
-
// https://typescript-eslint.io/rules/no-invalid-this
|
|
37
|
-
// decision: superceded by noImplicitThis in tsconfig
|
|
35
|
+
// decision: prefer @typescript-eslint/no-invalid-this
|
|
38
36
|
'no-invalid-this': 'off',
|
|
39
37
|
|
|
40
38
|
// decision: prefer @typescript-eslint/no-loop-func
|
|
@@ -315,7 +313,8 @@ export default {
|
|
|
315
313
|
|
|
316
314
|
// Disallow this keywords outside of classes or class-like objects
|
|
317
315
|
// https://typescript-eslint.io/rules/no-invalid-this
|
|
318
|
-
|
|
316
|
+
// decision: superceded by `noImplicitThis` in tsconfig
|
|
317
|
+
'@typescript-eslint/no-invalid-this': 'off',
|
|
319
318
|
|
|
320
319
|
// Disallow void type outside of generic or return types
|
|
321
320
|
// https://typescript-eslint.io/rules/no-invalid-void-type
|