oxlint-tsgolint 0.6.0 → 0.7.0
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/README.md +6 -3
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -57,6 +57,9 @@ Configure type-aware rules in `.oxlintrc.json`:
|
|
|
57
57
|
|
|
58
58
|
Over 30 TypeScript-specific type-aware rules are available. For detailed setup and configuration, see the [Oxlint Type-Aware Linting guide](https://oxc.rs/blog/2025-08-17-oxlint-type-aware.html).
|
|
59
59
|
|
|
60
|
+
> [!NOTE]
|
|
61
|
+
> Non-type-aware TypeScript rules can be found in [Oxlint's TypeScript rules](https://oxc.rs/docs/guide/usage/linter/rules.html) under the TypeScript source.
|
|
62
|
+
|
|
60
63
|
## Performance
|
|
61
64
|
|
|
62
65
|
**tsgolint** is **20-40 times faster** than ESLint + typescript-eslint.
|
|
@@ -105,7 +108,7 @@ We welcome contributions! See [CONTRIBUTING.md](./CONTRIBUTING.md) for:
|
|
|
105
108
|
- How to implement new rules
|
|
106
109
|
- Code style and contribution workflow
|
|
107
110
|
|
|
108
|
-
## Implemented Rules (
|
|
111
|
+
## Implemented Rules (43/59)
|
|
109
112
|
|
|
110
113
|
- [ ] [consistent-return](https://typescript-eslint.io/rules/consistent-return)
|
|
111
114
|
- [ ] [consistent-type-exports](https://typescript-eslint.io/rules/consistent-type-exports)
|
|
@@ -117,7 +120,6 @@ We welcome contributions! See [CONTRIBUTING.md](./CONTRIBUTING.md) for:
|
|
|
117
120
|
- [ ] [no-unnecessary-type-parameters](https://typescript-eslint.io/rules/no-unnecessary-type-parameters)
|
|
118
121
|
- [ ] [prefer-destructuring](https://typescript-eslint.io/rules/prefer-destructuring)
|
|
119
122
|
- [ ] [prefer-find](https://typescript-eslint.io/rules/prefer-find)
|
|
120
|
-
- [ ] [prefer-includes](https://typescript-eslint.io/rules/prefer-includes)
|
|
121
123
|
- [ ] [prefer-nullish-coalescing](https://typescript-eslint.io/rules/prefer-nullish-coalescing)
|
|
122
124
|
- [ ] [prefer-optional-chain](https://typescript-eslint.io/rules/prefer-optional-chain)
|
|
123
125
|
- [ ] [prefer-readonly](https://typescript-eslint.io/rules/prefer-readonly)
|
|
@@ -152,7 +154,7 @@ We welcome contributions! See [CONTRIBUTING.md](./CONTRIBUTING.md) for:
|
|
|
152
154
|
- [x] [no-unsafe-unary-minus](https://typescript-eslint.io/rules/no-unsafe-unary-minus)
|
|
153
155
|
- [x] [non-nullable-type-assertion-style](https://typescript-eslint.io/rules/non-nullable-type-assertion-style)
|
|
154
156
|
- [x] [only-throw-error](https://typescript-eslint.io/rules/only-throw-error)
|
|
155
|
-
- [x] [
|
|
157
|
+
- [x] [prefer-includes](https://typescript-eslint.io/rules/prefer-includes)
|
|
156
158
|
- [x] [prefer-promise-reject-errors](https://typescript-eslint.io/rules/prefer-promise-reject-errors)
|
|
157
159
|
- [x] [prefer-reduce-type-parameter](https://typescript-eslint.io/rules/prefer-reduce-type-parameter)
|
|
158
160
|
- [x] [prefer-return-this-type](https://typescript-eslint.io/rules/prefer-return-this-type)
|
|
@@ -163,6 +165,7 @@ We welcome contributions! See [CONTRIBUTING.md](./CONTRIBUTING.md) for:
|
|
|
163
165
|
- [x] [restrict-plus-operands](https://typescript-eslint.io/rules/restrict-plus-operands)
|
|
164
166
|
- [x] [restrict-template-expressions](https://typescript-eslint.io/rules/restrict-template-expressions)
|
|
165
167
|
- [x] [return-await](https://typescript-eslint.io/rules/return-await)
|
|
168
|
+
- [x] [strict-boolean-expressions](https://typescript-eslint.io/rules/strict-boolean-expressions)
|
|
166
169
|
- [x] [switch-exhaustiveness-check](https://typescript-eslint.io/rules/switch-exhaustiveness-check)
|
|
167
170
|
- [x] [unbound-method](https://typescript-eslint.io/rules/unbound-method)
|
|
168
171
|
- [x] [use-unknown-in-catch-callback-variable](https://typescript-eslint.io/rules/use-unknown-in-catch-callback-variable)
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.
|
|
2
|
+
"version": "0.7.0",
|
|
3
3
|
"license": "MIT",
|
|
4
4
|
"author": "auvred <aauvred@gmail.com>",
|
|
5
5
|
"repository": "github:oxc-project/tsgolint",
|
|
@@ -13,11 +13,11 @@
|
|
|
13
13
|
"tsgolint": "./bin/tsgolint.js"
|
|
14
14
|
},
|
|
15
15
|
"optionalDependencies": {
|
|
16
|
-
"@oxlint-tsgolint/win32-x64": "0.
|
|
17
|
-
"@oxlint-tsgolint/win32-arm64": "0.
|
|
18
|
-
"@oxlint-tsgolint/linux-x64": "0.
|
|
19
|
-
"@oxlint-tsgolint/linux-arm64": "0.
|
|
20
|
-
"@oxlint-tsgolint/darwin-x64": "0.
|
|
21
|
-
"@oxlint-tsgolint/darwin-arm64": "0.
|
|
16
|
+
"@oxlint-tsgolint/win32-x64": "0.7.0",
|
|
17
|
+
"@oxlint-tsgolint/win32-arm64": "0.7.0",
|
|
18
|
+
"@oxlint-tsgolint/linux-x64": "0.7.0",
|
|
19
|
+
"@oxlint-tsgolint/linux-arm64": "0.7.0",
|
|
20
|
+
"@oxlint-tsgolint/darwin-x64": "0.7.0",
|
|
21
|
+
"@oxlint-tsgolint/darwin-arm64": "0.7.0"
|
|
22
22
|
}
|
|
23
23
|
}
|