@ohos-npm-ports/oxlint-tsgolint 7.0.2001-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/@oxlint-tsgolint/openharmony-arm64/package.json +16 -0
- package/@oxlint-tsgolint/openharmony-arm64/tsgolint +0 -0
- package/LICENSE +22 -0
- package/README.md +253 -0
- package/bin/tsgolint.js +23 -0
- package/package.json +28 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@oxlint-tsgolint/openharmony-arm64",
|
|
3
|
+
"version": "7.0.2001",
|
|
4
|
+
"description": "High-performance type-aware TypeScript linter powered by typescript-go, for use with oxlint. — OpenHarmony (OHOS) build",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"preferUnplugged": true,
|
|
7
|
+
"files": [
|
|
8
|
+
"tsgolint"
|
|
9
|
+
],
|
|
10
|
+
"os": [
|
|
11
|
+
"openharmony"
|
|
12
|
+
],
|
|
13
|
+
"cpu": [
|
|
14
|
+
"arm64"
|
|
15
|
+
]
|
|
16
|
+
}
|
|
Binary file
|
package/LICENSE
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 July-present VoidZero Inc. & Contributors
|
|
4
|
+
Copyright (c) 2025 July typescript-eslint and other contributors
|
|
5
|
+
|
|
6
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
8
|
+
in the Software without restriction, including without limitation the rights
|
|
9
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
11
|
+
furnished to do so, subject to the following conditions:
|
|
12
|
+
|
|
13
|
+
The above copyright notice and this permission notice shall be included in all
|
|
14
|
+
copies or substantial portions of the Software.
|
|
15
|
+
|
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,253 @@
|
|
|
1
|
+
<div align="center">
|
|
2
|
+
<h1>✨ tsgolint ✨</h1>
|
|
3
|
+
</div>
|
|
4
|
+
|
|
5
|
+
<div align="center">
|
|
6
|
+
|
|
7
|
+
[![MIT licensed][license-badge]][license-url]
|
|
8
|
+
[![Build Status][ci-badge]][ci-url]
|
|
9
|
+
[![Discord chat][discord-badge]][discord-url]
|
|
10
|
+
[![npm weekly downloads][npm-badge]][npm-url]
|
|
11
|
+
|
|
12
|
+
</div>
|
|
13
|
+
|
|
14
|
+
High-performance **type-aware linting** for Oxlint.
|
|
15
|
+
|
|
16
|
+
`tsgolint` executes lint rules that require **TypeScript semantic analysis**, using [typescript-go](https://github.com/microsoft/typescript-go) for full compatibility with the TypeScript type system, and targets **TypeScript 7** (codenamed **Project Corsa**).
|
|
17
|
+
|
|
18
|
+
It is designed to integrate seamlessly with Oxlint's fast syntax linting, enabling projects to run deeper semantic checks without sacrificing performance.
|
|
19
|
+
|
|
20
|
+
Key highlights:
|
|
21
|
+
|
|
22
|
+
- **Performance**: 20-40x faster than ESLint + typescript-eslint on large repositories
|
|
23
|
+
- **Coverage**: 59/61 targeted `typescript-eslint` type-aware rules implemented
|
|
24
|
+
- **Parallel**: Multi-core rule execution for scalable analysis
|
|
25
|
+
- **High impact**: catches production-grade bugs that syntax-only linting misses (for example `no-floating-promises`)
|
|
26
|
+
|
|
27
|
+
This project originated in [typescript-eslint/tsgolint](https://github.com/typescript-eslint/tsgolint), with fork permission granted by [@auvred](https://github.com/auvred).
|
|
28
|
+
|
|
29
|
+
## Why Teams Upgrade to Type-Aware Linting
|
|
30
|
+
|
|
31
|
+
If you ship TypeScript, running `oxlint --type-aware` in CI is a high-leverage upgrade that catches bug classes syntax linting cannot.
|
|
32
|
+
|
|
33
|
+
For example, `typescript/no-floating-promises` catches silently dropped async failures:
|
|
34
|
+
|
|
35
|
+
```js
|
|
36
|
+
async function saveUser(user) {
|
|
37
|
+
const res = await fetch('/api/users', {
|
|
38
|
+
method: 'POST',
|
|
39
|
+
body: JSON.stringify(user),
|
|
40
|
+
});
|
|
41
|
+
if (!res.ok) throw new Error('save failed');
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
function onSubmit(user) {
|
|
45
|
+
saveUser(user); // no-floating-promises: Promise is created but never handled
|
|
46
|
+
showToast('Saved!'); // UI claims success even if the request rejects
|
|
47
|
+
}
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
Without this rule, rejected promises can be missed and reach production as flaky, hard-to-debug failures.
|
|
51
|
+
|
|
52
|
+
## Installation & Usage
|
|
53
|
+
|
|
54
|
+
`tsgolint` is integrated into Oxlint as the type-aware backend. Install and use via Oxlint:
|
|
55
|
+
|
|
56
|
+
```shell
|
|
57
|
+
# Install oxlint with type-aware support
|
|
58
|
+
pnpm add -D oxlint-tsgolint@latest
|
|
59
|
+
|
|
60
|
+
# Quick start
|
|
61
|
+
pnpm dlx oxlint --type-aware
|
|
62
|
+
|
|
63
|
+
# Or run on your project
|
|
64
|
+
oxlint --type-aware
|
|
65
|
+
|
|
66
|
+
# Optionally also run typechecking at the same time
|
|
67
|
+
oxlint --type-aware --type-check
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
### What these flags do
|
|
71
|
+
|
|
72
|
+
- `--type-aware`: enables `typescript/*` rules that require TypeScript semantic analysis via `tsgolint`
|
|
73
|
+
- `--type-check`: includes type diagnostics from `typescript-go` in type-aware runs
|
|
74
|
+
|
|
75
|
+
### Configuration
|
|
76
|
+
|
|
77
|
+
Configure type-aware rules in `.oxlintrc.json`:
|
|
78
|
+
|
|
79
|
+
```jsonc
|
|
80
|
+
{
|
|
81
|
+
"$schema": "./node_modules/oxlint/configuration_schema.json",
|
|
82
|
+
// alternatively, configure via options field
|
|
83
|
+
"options": {
|
|
84
|
+
"typeAware": true,
|
|
85
|
+
"typeCheck": true,
|
|
86
|
+
},
|
|
87
|
+
"rules": {
|
|
88
|
+
"typescript/no-floating-promises": "error",
|
|
89
|
+
"typescript/no-misused-promises": "error",
|
|
90
|
+
},
|
|
91
|
+
}
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
Over 50 TypeScript-specific type-aware rules are available. For detailed setup and configuration, see the [Oxlint Type-Aware Linting guide](https://oxc.rs/docs/guide/usage/linter/type-aware.html).
|
|
95
|
+
|
|
96
|
+
> [!NOTE]
|
|
97
|
+
> 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.
|
|
98
|
+
|
|
99
|
+
## How it fits into Oxlint
|
|
100
|
+
|
|
101
|
+
Oxlint separates linting into two layers:
|
|
102
|
+
|
|
103
|
+
| Layer | Purpose | Speed |
|
|
104
|
+
| ------------ | ---------------------------- | ---------------------- |
|
|
105
|
+
| **Oxlint** | Syntax & structural analysis | Instant |
|
|
106
|
+
| **tsgolint** | Type-aware semantic rules | Requires type analysis |
|
|
107
|
+
|
|
108
|
+
This architecture keeps the common case extremely fast while enabling powerful type-aware checks when needed.
|
|
109
|
+
Oxlint handles file discovery, configuration, and output formatting, while `tsgolint` executes type-aware rules and emits semantic diagnostics.
|
|
110
|
+
|
|
111
|
+
## Why tsgolint exists
|
|
112
|
+
|
|
113
|
+
Traditional type-aware linting in the JavaScript ecosystem typically works by embedding TypeScript's type-analysis engine inside a JavaScript linter.
|
|
114
|
+
|
|
115
|
+
This approach introduces several bottlenecks:
|
|
116
|
+
|
|
117
|
+
- slow startup due to compiler initialization
|
|
118
|
+
- AST conversion between toolchains
|
|
119
|
+
- limited parallelism
|
|
120
|
+
- high memory overhead on large repositories
|
|
121
|
+
|
|
122
|
+
`tsgolint` takes a different approach: it runs directly on `typescript-go`, avoiding these bottlenecks and allowing semantic analysis to run efficiently alongside Oxlint.
|
|
123
|
+
|
|
124
|
+
Recent benchmark results (`eslint` + `typescript-eslint` vs `tsgolint`) show consistent large speedups:
|
|
125
|
+
|
|
126
|
+
| Repository | ESLint + typescript-eslint | tsgolint | Speedup |
|
|
127
|
+
| -------------------- | -------------------------- | -------- | ------- |
|
|
128
|
+
| microsoft/vscode | 167.8s | 4.89s | **34x** |
|
|
129
|
+
| microsoft/typescript | 47.4s | 2.10s | **23x** |
|
|
130
|
+
| typeorm/typeorm | 27.3s | 0.93s | **29x** |
|
|
131
|
+
| vuejs/core | 20.7s | 0.95s | **22x** |
|
|
132
|
+
|
|
133
|
+
See [benchmarks](./benchmarks/README.md) for detailed performance comparisons.
|
|
134
|
+
|
|
135
|
+
## Status
|
|
136
|
+
|
|
137
|
+
`tsgolint` is under active development.
|
|
138
|
+
|
|
139
|
+
The core architecture is stable and already powers Oxlint's type-aware linting mode. Current development focuses on expanding rule coverage and ecosystem integration:
|
|
140
|
+
|
|
141
|
+
- additional `typescript-eslint` rule support
|
|
142
|
+
- editor integration improvements
|
|
143
|
+
- configuration and rule customization
|
|
144
|
+
- performance improvements for large monorepos
|
|
145
|
+
|
|
146
|
+
Because `tsgolint` relies on `typescript-go`, its long-term stability evolves alongside TypeScript itself.
|
|
147
|
+
|
|
148
|
+
> [!NOTE]
|
|
149
|
+
> We are not currently accepting PRs for new rules beyond what `typescript-eslint` supports, so that we can focus our limited engineering capacity on the items listed above.
|
|
150
|
+
|
|
151
|
+
For detailed technical documentation, see [ARCHITECTURE.md](./ARCHITECTURE.md).
|
|
152
|
+
|
|
153
|
+
## Contributing
|
|
154
|
+
|
|
155
|
+
We welcome contributions! See [CONTRIBUTING.md](./CONTRIBUTING.md) for:
|
|
156
|
+
|
|
157
|
+
- Development setup and building instructions
|
|
158
|
+
- Testing procedures and guidelines
|
|
159
|
+
- How to implement new rules
|
|
160
|
+
- Code style and contribution workflow
|
|
161
|
+
|
|
162
|
+
## Implemented Rules
|
|
163
|
+
|
|
164
|
+
Implemented 59/61.
|
|
165
|
+
|
|
166
|
+
- [ ] [naming-convention](https://typescript-eslint.io/rules/naming-convention)
|
|
167
|
+
- [ ] [prefer-destructuring](https://typescript-eslint.io/rules/prefer-destructuring)
|
|
168
|
+
- [x] [await-thenable](https://typescript-eslint.io/rules/await-thenable)
|
|
169
|
+
- [x] [consistent-return](https://typescript-eslint.io/rules/consistent-return)
|
|
170
|
+
- [x] [consistent-type-exports](https://typescript-eslint.io/rules/consistent-type-exports)
|
|
171
|
+
- [x] [dot-notation](https://typescript-eslint.io/rules/dot-notation)
|
|
172
|
+
- [x] [no-array-delete](https://typescript-eslint.io/rules/no-array-delete)
|
|
173
|
+
- [x] [no-base-to-string](https://typescript-eslint.io/rules/no-base-to-string)
|
|
174
|
+
- [x] [no-confusing-void-expression](https://typescript-eslint.io/rules/no-confusing-void-expression)
|
|
175
|
+
- [x] [no-deprecated](https://typescript-eslint.io/rules/no-deprecated)
|
|
176
|
+
- [x] [no-duplicate-type-constituents](https://typescript-eslint.io/rules/no-duplicate-type-constituents)
|
|
177
|
+
- [x] [no-floating-promises](https://typescript-eslint.io/rules/no-floating-promises)
|
|
178
|
+
- [x] [no-for-in-array](https://typescript-eslint.io/rules/no-for-in-array)
|
|
179
|
+
- [x] [no-implied-eval](https://typescript-eslint.io/rules/no-implied-eval)
|
|
180
|
+
- [x] [no-meaningless-void-operator](https://typescript-eslint.io/rules/no-meaningless-void-operator)
|
|
181
|
+
- [x] [no-misused-promises](https://typescript-eslint.io/rules/no-misused-promises)
|
|
182
|
+
- [x] [no-misused-spread](https://typescript-eslint.io/rules/no-misused-spread)
|
|
183
|
+
- [x] [no-mixed-enums](https://typescript-eslint.io/rules/no-mixed-enums)
|
|
184
|
+
- [x] [no-redundant-type-constituents](https://typescript-eslint.io/rules/no-redundant-type-constituents)
|
|
185
|
+
- [x] [no-unnecessary-boolean-literal-compare](https://typescript-eslint.io/rules/no-unnecessary-boolean-literal-compare)
|
|
186
|
+
- [x] [no-unnecessary-condition](https://typescript-eslint.io/rules/no-unnecessary-condition)
|
|
187
|
+
- [x] [no-unnecessary-qualifier](https://typescript-eslint.io/rules/no-unnecessary-qualifier)
|
|
188
|
+
- [x] [no-unnecessary-template-expression](https://typescript-eslint.io/rules/no-unnecessary-template-expression)
|
|
189
|
+
- [x] [no-unnecessary-type-arguments](https://typescript-eslint.io/rules/no-unnecessary-type-arguments)
|
|
190
|
+
- [x] [no-unnecessary-type-assertion](https://typescript-eslint.io/rules/no-unnecessary-type-assertion)
|
|
191
|
+
- [x] [no-unnecessary-type-conversion](https://typescript-eslint.io/rules/no-unnecessary-type-conversion)
|
|
192
|
+
- [x] [no-unnecessary-type-parameters](https://typescript-eslint.io/rules/no-unnecessary-type-parameters)
|
|
193
|
+
- [x] [no-unsafe-argument](https://typescript-eslint.io/rules/no-unsafe-argument)
|
|
194
|
+
- [x] [no-unsafe-assignment](https://typescript-eslint.io/rules/no-unsafe-assignment)
|
|
195
|
+
- [x] [no-unsafe-call](https://typescript-eslint.io/rules/no-unsafe-call)
|
|
196
|
+
- [x] [no-unsafe-enum-comparison](https://typescript-eslint.io/rules/no-unsafe-enum-comparison)
|
|
197
|
+
- [x] [no-unsafe-member-access](https://typescript-eslint.io/rules/no-unsafe-member-access)
|
|
198
|
+
- [x] [no-unsafe-return](https://typescript-eslint.io/rules/no-unsafe-return)
|
|
199
|
+
- [x] [no-unsafe-type-assertion](https://typescript-eslint.io/rules/no-unsafe-type-assertion)
|
|
200
|
+
- [x] [no-unsafe-unary-minus](https://typescript-eslint.io/rules/no-unsafe-unary-minus)
|
|
201
|
+
- [x] [no-useless-default-assignment](https://typescript-eslint.io/rules/no-useless-default-assignment)
|
|
202
|
+
- [x] [non-nullable-type-assertion-style](https://typescript-eslint.io/rules/non-nullable-type-assertion-style)
|
|
203
|
+
- [x] [only-throw-error](https://typescript-eslint.io/rules/only-throw-error)
|
|
204
|
+
- [x] [prefer-find](https://typescript-eslint.io/rules/prefer-find)
|
|
205
|
+
- [x] [prefer-includes](https://typescript-eslint.io/rules/prefer-includes)
|
|
206
|
+
- [x] [prefer-nullish-coalescing](https://typescript-eslint.io/rules/prefer-nullish-coalescing)
|
|
207
|
+
- [x] [prefer-optional-chain](https://typescript-eslint.io/rules/prefer-optional-chain)
|
|
208
|
+
- [x] [prefer-promise-reject-errors](https://typescript-eslint.io/rules/prefer-promise-reject-errors)
|
|
209
|
+
- [x] [prefer-readonly-parameter-types](https://typescript-eslint.io/rules/prefer-readonly-parameter-types)
|
|
210
|
+
- [x] [prefer-readonly](https://typescript-eslint.io/rules/prefer-readonly)
|
|
211
|
+
- [x] [prefer-reduce-type-parameter](https://typescript-eslint.io/rules/prefer-reduce-type-parameter)
|
|
212
|
+
- [x] [prefer-regexp-exec](https://typescript-eslint.io/rules/prefer-regexp-exec)
|
|
213
|
+
- [x] [prefer-return-this-type](https://typescript-eslint.io/rules/prefer-return-this-type)
|
|
214
|
+
- [x] [prefer-string-starts-ends-with](https://typescript-eslint.io/rules/prefer-string-starts-ends-with)
|
|
215
|
+
- [x] [promise-function-async](https://typescript-eslint.io/rules/promise-function-async)
|
|
216
|
+
- [x] [related-getter-setter-pairs](https://typescript-eslint.io/rules/related-getter-setter-pairs)
|
|
217
|
+
- [x] [require-array-sort-compare](https://typescript-eslint.io/rules/require-array-sort-compare)
|
|
218
|
+
- [x] [require-await](https://typescript-eslint.io/rules/require-await)
|
|
219
|
+
- [x] [restrict-plus-operands](https://typescript-eslint.io/rules/restrict-plus-operands)
|
|
220
|
+
- [x] [restrict-template-expressions](https://typescript-eslint.io/rules/restrict-template-expressions)
|
|
221
|
+
- [x] [return-await](https://typescript-eslint.io/rules/return-await)
|
|
222
|
+
- [x] [strict-boolean-expressions](https://typescript-eslint.io/rules/strict-boolean-expressions)
|
|
223
|
+
- [x] [strict-void-return](https://typescript-eslint.io/rules/strict-void-return)
|
|
224
|
+
- [x] [switch-exhaustiveness-check](https://typescript-eslint.io/rules/switch-exhaustiveness-check)
|
|
225
|
+
- [x] [unbound-method](https://typescript-eslint.io/rules/unbound-method)
|
|
226
|
+
- [x] [use-unknown-in-catch-callback-variable](https://typescript-eslint.io/rules/use-unknown-in-catch-callback-variable)
|
|
227
|
+
|
|
228
|
+
## Links
|
|
229
|
+
|
|
230
|
+
- [ARCHITECTURE.md](./ARCHITECTURE.md) - Detailed technical documentation
|
|
231
|
+
- [CONTRIBUTING.md](./CONTRIBUTING.md) - Development and contribution guidelines
|
|
232
|
+
- [Benchmarks](./benchmarks/README.md) - Performance comparison data
|
|
233
|
+
- [typescript-go](https://github.com/microsoft/typescript-go) - Underlying type-analysis backend
|
|
234
|
+
- [Oxlint](https://oxc.rs/docs/guide/usage/linter.html) - Frontend linter integration
|
|
235
|
+
|
|
236
|
+
<!-- Badge definitions -->
|
|
237
|
+
|
|
238
|
+
[npm-badge]: https://img.shields.io/npm/dw/oxlint-tsgolint.svg
|
|
239
|
+
[npm-url]: https://www.npmx.dev/package/oxlint-tsgolint
|
|
240
|
+
[license-badge]: https://img.shields.io/badge/license-MIT-blue.svg
|
|
241
|
+
[license-url]: LICENSE
|
|
242
|
+
[ci-badge]: https://github.com/oxc-project/tsgolint/actions/workflows/ci.yml/badge.svg
|
|
243
|
+
[ci-url]: https://github.com/oxc-project/tsgolint/actions/workflows/ci.yml
|
|
244
|
+
[discord-badge]: https://img.shields.io/discord/1079625926024900739?logo=discord&label=Discord
|
|
245
|
+
[discord-url]: https://discord.gg/9uXCAwqQZW
|
|
246
|
+
|
|
247
|
+
# [Sponsored By](https://oxc.rs/sponsor)
|
|
248
|
+
|
|
249
|
+
<p align="center">
|
|
250
|
+
<a href="https://oxc.rs/sponsor">
|
|
251
|
+
<img src="https://raw.githubusercontent.com/oxc-project/sponsors/main/sponsors.svg" alt="Our sponsors" />
|
|
252
|
+
</a>
|
|
253
|
+
</p>
|
package/bin/tsgolint.js
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
const process = require('node:process');
|
|
4
|
+
const child_process = require('node:child_process');
|
|
5
|
+
|
|
6
|
+
const exePath =
|
|
7
|
+
process.platform === 'openharmony'
|
|
8
|
+
? require('node:path').join(__dirname, '..', '@oxlint-tsgolint', 'openharmony-arm64', 'tsgolint')
|
|
9
|
+
: require.resolve(
|
|
10
|
+
`@oxlint-tsgolint/${process.platform}-${process.arch}/tsgolint${process.platform === 'win32' ? '.exe' : ''}`,
|
|
11
|
+
);
|
|
12
|
+
|
|
13
|
+
try {
|
|
14
|
+
child_process.execFileSync(exePath, process.argv.slice(2), {
|
|
15
|
+
stdio: 'inherit',
|
|
16
|
+
});
|
|
17
|
+
} catch (e) {
|
|
18
|
+
if (e.status) {
|
|
19
|
+
process.exitCode = e.status;
|
|
20
|
+
} else {
|
|
21
|
+
throw e;
|
|
22
|
+
}
|
|
23
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "7.0.2001-1",
|
|
3
|
+
"description": "High-performance type-aware TypeScript linter powered by typescript-go, for use with oxlint.",
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"author": "auvred <aauvred@gmail.com>",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/ohos-npm-ports/ohos-npm-ports.git",
|
|
9
|
+
"directory": "ports/oxlint-tsgolint/7.0.2001"
|
|
10
|
+
},
|
|
11
|
+
"bugs": "https://github.com/oxc-project/tsgolint/issues",
|
|
12
|
+
"homepage": "https://github.com/oxc-project/tsgolint#readme",
|
|
13
|
+
"publishConfig": {
|
|
14
|
+
"access": "public"
|
|
15
|
+
},
|
|
16
|
+
"name": "@ohos-npm-ports/oxlint-tsgolint",
|
|
17
|
+
"bin": {
|
|
18
|
+
"tsgolint": "./bin/tsgolint.js"
|
|
19
|
+
},
|
|
20
|
+
"optionalDependencies": {
|
|
21
|
+
"@oxlint-tsgolint/win32-x64": "7.0.2001",
|
|
22
|
+
"@oxlint-tsgolint/win32-arm64": "7.0.2001",
|
|
23
|
+
"@oxlint-tsgolint/linux-x64": "7.0.2001",
|
|
24
|
+
"@oxlint-tsgolint/linux-arm64": "7.0.2001",
|
|
25
|
+
"@oxlint-tsgolint/darwin-x64": "7.0.2001",
|
|
26
|
+
"@oxlint-tsgolint/darwin-arm64": "7.0.2001"
|
|
27
|
+
}
|
|
28
|
+
}
|