@nelsonlaidev/oxlint-config 0.2.0 → 0.2.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/README.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  Personal Oxlint configurations for Nelson Lai projects.
4
4
 
5
+ This package is synced from `eslint-config` and aims to enable every supported Oxlint rule that is also enabled in `eslint-config`.
6
+
5
7
  ## Installation
6
8
 
7
9
  ```bash
@@ -25,7 +27,11 @@ export default defineConfig({
25
27
 
26
28
  ### Notes
27
29
 
28
- If you are using pnpm/bun, add the following to your `.npmrc` to hoist ESLint plugin dependencies so the Oxlint can resolve them:
30
+ This package follows `eslint-config` as the source of truth. When a rule is enabled there, we enable the corresponding Oxlint rule here when Oxlint supports it.
31
+
32
+ `unused-imports` is intentionally not included. That plugin requires type information, and Oxlint `jsPlugins` does not support that currently.
33
+
34
+ If you are using pnpm, add the following to your `.npmrc` to hoist ESLint plugin dependencies so the Oxlint can resolve them:
29
35
 
30
36
  ```ini
31
37
  public-hoist-pattern[]=*eslint-plugin*