@configg/oxc 0.1.2 → 0.1.3
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 +3 -2
- package/package.json +1 -1
- package/src/lint.ts +1 -0
package/README.md
CHANGED
|
@@ -40,8 +40,9 @@ export default defineConfig(configs.client)
|
|
|
40
40
|
- `client`: browser env, type-aware, with rules relaxed for component code. Its `**/*.spec.{ts,tsx}` override enables the Vitest env and Testing Library rules, so it needs `eslint-plugin-testing-library`.
|
|
41
41
|
- `scripts`: Node env, type-aware, for tooling and config files.
|
|
42
42
|
|
|
43
|
-
Both presets allow up to two classes per file and allow `
|
|
44
|
-
|
|
43
|
+
Both presets allow up to two classes per file, allow `reduce()` and allow `process.exit()` (CLI scripts and
|
|
44
|
+
shutdown handlers exit with a status code on purpose). Template expressions allow booleans, numbers, nullish
|
|
45
|
+
values and `never`; other types follow Oxlint's defaults.
|
|
45
46
|
|
|
46
47
|
## Peer dependencies
|
|
47
48
|
|
package/package.json
CHANGED