@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 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 `reduce()`. Template expressions
44
- allow booleans, numbers, nullish values and `never`; other types follow Oxlint's defaults.
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@configg/oxc",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "oxfmt and oxlint presets",
5
5
  "keywords": [
6
6
  "config",
package/src/lint.ts CHANGED
@@ -12,6 +12,7 @@ const sharedRules = {
12
12
  },
13
13
  ],
14
14
  'unicorn/no-array-reduce': 'off',
15
+ 'unicorn/no-process-exit': 'off',
15
16
  } as const satisfies OxlintConfig['rules']
16
17
 
17
18
  export const configs = {