@standard-config/oxlint 2.0.0 → 2.0.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 +11 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -154,6 +154,17 @@ export default defineConfig({
|
|
|
154
154
|
});
|
|
155
155
|
```
|
|
156
156
|
|
|
157
|
+
### How do I enable a supplemental config package?
|
|
158
|
+
|
|
159
|
+
If you already [use the core config](#usage), there’s no need to modify `oxlint.config.ts`. Installed supplemental config packages are detected and applied automatically.
|
|
160
|
+
|
|
161
|
+
```ts
|
|
162
|
+
import { defineConfig } from '@standard-config/oxlint';
|
|
163
|
+
|
|
164
|
+
// Will automatically include any installed supplemental configs
|
|
165
|
+
export default defineConfig();
|
|
166
|
+
```
|
|
167
|
+
|
|
157
168
|
### Can I use this config with Vite+?
|
|
158
169
|
|
|
159
170
|
Absolutely. In your `vite.config.ts`:
|