@imranbarbhuiya/oxc-config 0.2.1 → 0.2.2

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.
Files changed (2) hide show
  1. package/README.md +3 -6
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -58,12 +58,11 @@ npm install --save-dev @imranbarbhuiya/oxc-config oxlint oxlint-tsgolint oxfmt
58
58
  Create `oxlint.config.ts`:
59
59
 
60
60
  ```ts
61
- import { defineConfig } from 'oxlint';
62
-
63
61
  import common from '@imranbarbhuiya/oxc-config/common';
64
62
  import module from '@imranbarbhuiya/oxc-config/module';
65
63
  import node from '@imranbarbhuiya/oxc-config/node';
66
64
  import typescript from '@imranbarbhuiya/oxc-config/typescript';
65
+ import { defineConfig } from 'oxlint';
67
66
 
68
67
  export default defineConfig({
69
68
  extends: [common, node, typescript, module],
@@ -78,9 +77,8 @@ export default defineConfig({
78
77
  Create `oxfmt.config.ts`:
79
78
 
80
79
  ```ts
81
- import { defineConfig } from 'oxfmt';
82
-
83
80
  import config from '@imranbarbhuiya/oxc-config/oxfmt';
81
+ import { defineConfig } from 'oxfmt';
84
82
 
85
83
  export default defineConfig({
86
84
  ...config,
@@ -123,10 +121,9 @@ Fragments can be combined through `defineConfig({ extends: [...] })`. The Tailwi
123
121
  TanStack Query can be added directly:
124
122
 
125
123
  ```ts
126
- import { defineConfig } from 'oxlint';
127
-
128
124
  import common from '@imranbarbhuiya/oxc-config/common';
129
125
  import react from '@imranbarbhuiya/oxc-config/react';
126
+ import { defineConfig } from 'oxlint';
130
127
 
131
128
  export default defineConfig({
132
129
  extends: [common, react],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@imranbarbhuiya/oxc-config",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "Shared Oxlint and Oxfmt configs for JavaScript and TypeScript projects",
5
5
  "keywords": [
6
6
  "config",
@@ -199,14 +199,14 @@
199
199
  "@types/bun": "^1.4.0",
200
200
  "@types/node": "^25.9.5",
201
201
  "@typescript-eslint/utils": "^8.68.0",
202
- "oxfmt": "^0.65.0",
202
+ "oxfmt": "^0.72.0",
203
203
  "oxlint": "^1.80.0",
204
204
  "oxlint-tsgolint": "^7.0.2001",
205
205
  "tsdown": "^0.22.14",
206
206
  "typescript": "6.0.3"
207
207
  },
208
208
  "peerDependencies": {
209
- "oxfmt": "^0.65.0",
209
+ "oxfmt": "^0.72.0",
210
210
  "oxlint": "^1.80.0",
211
211
  "oxlint-tsgolint": "^7.0.2001"
212
212
  },