oxlint-config-presets 0.1.23 → 0.1.24
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 +7 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -62,6 +62,13 @@ export default defineConfig({
|
|
|
62
62
|
> [!NOTE]
|
|
63
63
|
> Requires Node.js v22.18+ or v24+ for `with { type: "json" }` (import attributes) support.
|
|
64
64
|
|
|
65
|
+
### Type-aware rules
|
|
66
|
+
|
|
67
|
+
Presets that include type-aware rules (such as the `*-type-checked` presets, `airbnb.json` and `standard.json`) set `options.typeAware`, which requires a type-aware backend to be installed. Install one of:
|
|
68
|
+
|
|
69
|
+
- [`oxlint-tsgolint`](https://www.npmjs.com/package/oxlint-tsgolint): `pnpm add -D oxlint-tsgolint`
|
|
70
|
+
- [`tsrs`](https://www.npmjs.com/package/tsrs) (faster, not yet stable): `pnpm add -D tsrs`
|
|
71
|
+
|
|
65
72
|
<!-- GENERATED CONFIGS START -->
|
|
66
73
|
|
|
67
74
|
## Available configs
|