Commit bf898e5
committed
test(linter): increase stability of tsgolint test cases (#15063)
current test cases are unnecessarily complex. this results in unstable tests due to non-determinestic multi threaded behaviour when running tsgo.
This PR improves the stability of these test cases by simplifying the test cases, reducing the variance when running type aware linting.1 parent 88577a8 commit bf898e5
File tree
86 files changed
+303
-2215
lines changed- apps/oxlint
- fixtures/tsgolint
- await-thenable
- no-array-delete
- no-base-to-string
- no-confusing-void-expression
- no-duplicate-type-constituents
- no-floating-promises
- src
- no-for-in-array
- no-implied-eval
- no-meaningless-void-operator
- no-misused-spread
- no-mixed-enums
- no-redundant-type-constituents
- no-unnecessary-boolean-literal-compare
- no-unnecessary-template-expression
- no-unnecessary-type-arguments
- no-unnecessary-type-assertion
- no-unsafe-argument
- no-unsafe-assignment
- no-unsafe-call
- no-unsafe-member-access
- no-unsafe-return
- no-unsafe-type-assertion
- no-unsafe-unary-minus
- non-nullable-type-assertion-style
- only-throw-error
- prefer-promise-reject-errors
- prefer-reduce-type-parameter
- prefer-return-this-type
- promise-function-async
- require-array-sort-compare
- require-await
- restrict-plus-operands
- restrict-template-expressions
- return-await
- strict-boolean-expressions
- unbound-method
- use-unknown-in-catch-callback-variable
- src
- snapshots
- crates/oxc_linter/src
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
86 files changed
+303
-2215
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
This file was deleted.
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
Lines changed: 0 additions & 12 deletions
This file was deleted.
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
Lines changed: 0 additions & 14 deletions
This file was deleted.
0 commit comments