@4mbl/lint 0.0.0-alpha.dd66007 → 0.0.0-alpha.e076084

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/CHANGELOG.md CHANGED
@@ -1,5 +1,77 @@
1
1
  # @4mbl/lint
2
2
 
3
+ ## 1.0.0-beta.23
4
+
5
+ ### Minor Changes
6
+
7
+ - 09239e5: Upgrade dependencies
8
+
9
+ ## 1.0.0-beta.22
10
+
11
+ ### Minor Changes
12
+
13
+ - 75f5fe2: Upgrade dependencies
14
+
15
+ ## 1.0.0-beta.21
16
+
17
+ ### Minor Changes
18
+
19
+ - ae2bb06: [base] Disable unicorn/max-nested-calls rule
20
+
21
+ ## 1.0.0-beta.20
22
+
23
+ ### Minor Changes
24
+
25
+ - 0a0c233: Upgrade dependencies
26
+
27
+ ## 1.0.0-beta.19
28
+
29
+ ### Minor Changes
30
+
31
+ - 4d35fb5: [react] Disable react/jsx-no-literals rule
32
+
33
+ ## 1.0.0-beta.18
34
+
35
+ ### Minor Changes
36
+
37
+ - a50c3f4: Upgrade dependencies
38
+
39
+ ## 1.0.0-beta.17
40
+
41
+ ### Minor Changes
42
+
43
+ - f0f62f4: Upgrade dependencies
44
+
45
+ ## 1.0.0-beta.16
46
+
47
+ ### Minor Changes
48
+
49
+ - b303b6f: Upgrade dependencies
50
+
51
+ ## 1.0.0-beta.15
52
+
53
+ ### Minor Changes
54
+
55
+ - aa95edc: Upgrade dependencies
56
+
57
+ ## 1.0.0-beta.14
58
+
59
+ ### Minor Changes
60
+
61
+ - e34f9fe: Enable import plugin in base
62
+ - 5586655: Disable some import plugin rules in base
63
+ - 9b2b412: Disable `no-nodejs-modules` in node
64
+
65
+ ## 1.0.0-beta.13
66
+
67
+ ### Minor Changes
68
+
69
+ - dd66007: Pin dependencies to ensure future compatibility
70
+ - 0feb87d: Remove unused dependencies and inline trivial imports
71
+ - 1d98a33: Disable `react/forbid-component-props` and `react/forbid-dom-props` to ensure Tailwind compatibility
72
+ - a9085f2: Extend inherited plugins in child presets
73
+ - 014d999: Allow `eslint/no-underscore-dangle` for `__dirname` and `__filename` in node
74
+
3
75
  ## 1.0.0-beta.12
4
76
 
5
77
  ### Minor Changes
package/dist/base.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { defineConfig, type OxlintConfig } from 'oxlint';
2
2
  type BaseOptions = {};
3
3
  declare function baseConfig(_options?: Partial<BaseOptions>): {
4
- plugins: ("unicorn" | "typescript")[];
4
+ plugins: ("import" | "typescript" | "unicorn")[];
5
5
  jsPlugins: never[];
6
6
  categories: {
7
7
  correctness: "error";
@@ -91,7 +91,7 @@ declare function baseConfig(_options?: Partial<BaseOptions>): {
91
91
  'typescript/prefer-as-const': "error";
92
92
  'typescript/triple-slash-reference': "error";
93
93
  'typescript/explicit-member-accessibility': ["warn", {
94
- accessibility: string;
94
+ accessibility: "no-public";
95
95
  }];
96
96
  'eslint/id-length': "off";
97
97
  'eslint/sort-keys': "off";
@@ -101,7 +101,7 @@ declare function baseConfig(_options?: Partial<BaseOptions>): {
101
101
  'eslint/max-params': "off";
102
102
  'eslint/no-ternary': "off";
103
103
  'eslint/curly': "warn";
104
- 'typescript/consistent-type-definitions': ["warn", string];
104
+ 'typescript/consistent-type-definitions': ["warn", "type"];
105
105
  'eslint/max-statements': "off";
106
106
  'typescript/consistent-return': "off";
107
107
  'unicorn/switch-case-braces': "warn";
@@ -133,12 +133,16 @@ declare function baseConfig(_options?: Partial<BaseOptions>): {
133
133
  'import/no-namespace': "off";
134
134
  'import/exports-last': "off";
135
135
  'import/no-unassigned-import': "off";
136
+ 'import/group-exports': "off";
137
+ 'import/consistent-type-specifier-style': "off";
136
138
  'unicorn/no-new-array': "off";
137
139
  'eslint/no-array-constructor': "warn";
138
140
  'typescript/explicit-function-return-type': "off";
139
141
  'typescript/explicit-module-boundary-types': "off";
140
142
  'unicorn/no-anonymous-default-export': "off";
141
143
  'eslint/sort-imports': "off";
144
+ 'import/no-relative-parent-imports': "off";
145
+ 'unicorn/max-nested-calls': "off";
142
146
  'eslint/no-magic-numbers': "off";
143
147
  'unicorn/prefer-modern-math-apis': "off";
144
148
  'eslint/no-use-before-define': "off";
@@ -160,7 +164,7 @@ declare function baseConfig(_options?: Partial<BaseOptions>): {
160
164
  };
161
165
  export { type OxlintConfig, defineConfig, baseConfig };
162
166
  declare const _default: {
163
- plugins: ("unicorn" | "typescript")[];
167
+ plugins: ("import" | "typescript" | "unicorn")[];
164
168
  jsPlugins: never[];
165
169
  categories: {
166
170
  correctness: "error";
@@ -250,7 +254,7 @@ declare const _default: {
250
254
  'typescript/prefer-as-const': "error";
251
255
  'typescript/triple-slash-reference': "error";
252
256
  'typescript/explicit-member-accessibility': ["warn", {
253
- accessibility: string;
257
+ accessibility: "no-public";
254
258
  }];
255
259
  'eslint/id-length': "off";
256
260
  'eslint/sort-keys': "off";
@@ -260,7 +264,7 @@ declare const _default: {
260
264
  'eslint/max-params': "off";
261
265
  'eslint/no-ternary': "off";
262
266
  'eslint/curly': "warn";
263
- 'typescript/consistent-type-definitions': ["warn", string];
267
+ 'typescript/consistent-type-definitions': ["warn", "type"];
264
268
  'eslint/max-statements': "off";
265
269
  'typescript/consistent-return': "off";
266
270
  'unicorn/switch-case-braces': "warn";
@@ -292,12 +296,16 @@ declare const _default: {
292
296
  'import/no-namespace': "off";
293
297
  'import/exports-last': "off";
294
298
  'import/no-unassigned-import': "off";
299
+ 'import/group-exports': "off";
300
+ 'import/consistent-type-specifier-style': "off";
295
301
  'unicorn/no-new-array': "off";
296
302
  'eslint/no-array-constructor': "warn";
297
303
  'typescript/explicit-function-return-type': "off";
298
304
  'typescript/explicit-module-boundary-types': "off";
299
305
  'unicorn/no-anonymous-default-export': "off";
300
306
  'eslint/sort-imports': "off";
307
+ 'import/no-relative-parent-imports': "off";
308
+ 'unicorn/max-nested-calls': "off";
301
309
  'eslint/no-magic-numbers': "off";
302
310
  'unicorn/prefer-modern-math-apis': "off";
303
311
  'eslint/no-use-before-define': "off";
@@ -1 +1 @@
1
- {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../src/base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,KAAK,YAAY,EAAE,MAAM,QAAQ,CAAC;AAEzD,KAAK,WAAW,GAAG,EAAE,CAAC;AAItB,iBAAS,UAAU,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsLlD;AAED,OAAO,EAAE,KAAK,YAAY,EAAE,YAAY,EAAE,UAAU,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEvD,wBAA4B"}
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../src/base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,KAAK,YAAY,EAAE,MAAM,QAAQ,CAAC;AAEzD,KAAK,WAAW,GAAG,EAAE,CAAC;AAItB,iBAAS,UAAU,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0LlD;AAED,OAAO,EAAE,KAAK,YAAY,EAAE,YAAY,EAAE,UAAU,EAAE,CAAC"}
package/dist/base.js CHANGED
@@ -3,7 +3,7 @@ import { defineConfig } from 'oxlint';
3
3
  function baseConfig(_options) {
4
4
  // const opts = { ...DEFAULT_OPTIONS, ...options };
5
5
  return defineConfig({
6
- plugins: ['typescript', 'unicorn'],
6
+ plugins: ['import', 'typescript', 'unicorn'],
7
7
  jsPlugins: [],
8
8
  categories: {
9
9
  correctness: 'error',
@@ -137,6 +137,8 @@ function baseConfig(_options) {
137
137
  'import/no-namespace': 'off', // star imports are still pretty necessary
138
138
  'import/exports-last': 'off', // star imports are still pretty necessary
139
139
  'import/no-unassigned-import': 'off', // required for css imports
140
+ 'import/group-exports': 'off', // co-locating export statement with the function it exports is more readable
141
+ 'import/consistent-type-specifier-style': 'off', // single import per file is more readable
140
142
  // Array.from() is slower than new Array()
141
143
  // https://jsperf.app/tatuse
142
144
  'unicorn/no-new-array': 'off',
@@ -147,6 +149,8 @@ function baseConfig(_options) {
147
149
  // may revisit
148
150
  'unicorn/no-anonymous-default-export': 'off',
149
151
  'eslint/sort-imports': 'off', // consider when oxfmt is setup
152
+ 'import/no-relative-parent-imports': 'off',
153
+ 'unicorn/max-nested-calls': 'off',
150
154
  // currently produces too many false positives
151
155
  'eslint/no-magic-numbers': 'off',
152
156
  'unicorn/prefer-modern-math-apis': 'off',
package/dist/base.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"base.js","sourceRoot":"","sources":["../src/base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAqB,MAAM,QAAQ,CAAC;AAIzD,2CAA2C;AAE3C,SAAS,UAAU,CAAC,QAA+B;IACjD,mDAAmD;IAEnD,OAAO,YAAY,CAAC;QAClB,OAAO,EAAE,CAAC,YAAY,EAAE,SAAS,CAAC;QAClC,SAAS,EAAE,EAAE;QACb,UAAU,EAAE;YACV,WAAW,EAAE,OAAO;YACpB,UAAU,EAAE,MAAM;YAClB,QAAQ,EAAE,KAAK;YACf,IAAI,EAAE,MAAM;YACZ,KAAK,E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AE,MAAM;YAErC,gDAAgD;YAChD,0CAA0C,EAAE,KAAK;YACjD,2CAA2C,EAAE,KAAK;YAElD,cAAc;YACd,qCAAqC,EAAE,KAAK;YAC5C,qBAAqB,EAAE,KAAK,EAAE,+BAA+B;YAC7D,mCAAmC,EAAE,KAAK;YAC1C,0BAA0B,EAAE,KAAK;YAEjC,8CAA8C;YAC9C,yBAAyB,EAAE,KAAK;YAChC,iCAAiC,EAAE,KAAK;YACxC,6BAA6B,EAAE,KAAK;YAEpC,iCAAiC;YACjC,0BAA0B,EAAE,KAAK;YACjC,sBAAsB,EAAE,KAAK;YAC7B,8BAA8B,EAAE,KAAK;YACrC,qBAAqB,EAAE,KAAK;YAC5B,qCAAqC,EAAE,KAAK;YAC5C,yBAAyB,EAAE,KAAK;YAChC,6BAA6B,EAAE,KAAK;YACpC,iBAAiB,EAAE,KAAK;YACxB,uBAAuB,EAAE,KAAK,EAAE,yEAAyE;YACzG,gBAAgB,EAAE,KAAK;YAEvB,0BAA0B;YAC1B,2BAA2B,EAAE,KAAK;YAElC,oDAAoD;YACpD,0BAA0B,EAAE,KAAK;YACjC,+BAA+B,EAAE,KAAK;YACtC,oBAAoB,EAAE,KAAK;SAC5B;KACF,CAAC,CAAC;AACL,CAAC;AAED,OAAO,EAAqB,YAAY,EAAE,UAAU,EAAE,CAAC;AAEvD,eAAe,UAAU,EAAE,CAAC"}
package/dist/next.d.ts CHANGED
@@ -11,8 +11,546 @@ type NextOptions = ReactOptions & {
11
11
  */
12
12
  uiPath: string | null;
13
13
  };
14
- declare function nextConfig(options?: Partial<NextOptions>): OxlintConfig;
14
+ declare function nextConfig(options?: Partial<NextOptions>): {
15
+ extends: {
16
+ extends: {
17
+ plugins: ("import" | "typescript" | "unicorn")[];
18
+ jsPlugins: never[];
19
+ categories: {
20
+ correctness: "error";
21
+ suspicious: "warn";
22
+ pedantic: "off";
23
+ perf: "warn";
24
+ style: "warn";
25
+ restriction: "warn";
26
+ nursery: "off";
27
+ };
28
+ env: {
29
+ builtin: true;
30
+ };
31
+ options: {
32
+ typeAware: true;
33
+ };
34
+ rules: {
35
+ 'eslint/no-var': "warn";
36
+ 'eslint/prefer-const': "error";
37
+ 'eslint/prefer-rest-params': "error";
38
+ 'eslint/prefer-spread': "error";
39
+ 'eslint/no-async-promise-executor': "error";
40
+ 'eslint/no-case-declarations': "error";
41
+ 'eslint/no-class-assign': "error";
42
+ 'eslint/no-compare-neg-zero': "error";
43
+ 'eslint/no-cond-assign': "error";
44
+ 'eslint/no-const-assign': "error";
45
+ 'eslint/no-constant-binary-expression': "error";
46
+ 'eslint/no-constant-condition': "error";
47
+ 'eslint/no-control-regex': "error";
48
+ 'eslint/no-debugger': "error";
49
+ 'eslint/no-delete-var': "error";
50
+ 'eslint/no-dupe-else-if': "error";
51
+ 'eslint/no-duplicate-case': "error";
52
+ 'eslint/no-empty': "error";
53
+ 'eslint/no-empty-character-class': "error";
54
+ 'eslint/no-empty-pattern': "error";
55
+ 'eslint/no-empty-static-block': "error";
56
+ 'eslint/no-ex-assign': "error";
57
+ 'eslint/no-extra-boolean-cast': "error";
58
+ 'eslint/no-fallthrough': ["error", {
59
+ allowEmptyCase: boolean;
60
+ }];
61
+ 'eslint/no-func-assign': "error";
62
+ 'eslint/no-global-assign': "error";
63
+ 'eslint/no-import-assign': "error";
64
+ 'eslint/no-invalid-regexp': "error";
65
+ 'eslint/no-irregular-whitespace': "error";
66
+ 'eslint/no-loss-of-precision': "error";
67
+ 'eslint/no-misleading-character-class': "error";
68
+ 'eslint/no-nonoctal-decimal-escape': "error";
69
+ 'eslint/no-obj-calls': "error";
70
+ 'eslint/no-prototype-builtins': "error";
71
+ 'eslint/no-redeclare': "error";
72
+ 'eslint/no-regex-spaces': "error";
73
+ 'eslint/no-self-assign': "error";
74
+ 'eslint/no-shadow-restricted-names': "error";
75
+ 'eslint/no-sparse-arrays': "error";
76
+ 'eslint/no-unexpected-multiline': "error";
77
+ 'eslint/no-unsafe-finally': "error";
78
+ 'eslint/no-unsafe-negation': "error";
79
+ 'eslint/no-unsafe-optional-chaining': "error";
80
+ 'eslint/no-unused-labels': "error";
81
+ 'eslint/no-unused-private-class-members': "error";
82
+ 'eslint/no-unused-vars': "warn";
83
+ 'eslint/no-useless-backreference': "error";
84
+ 'eslint/no-useless-catch': "error";
85
+ 'eslint/no-useless-escape': "error";
86
+ 'eslint/require-yield': "error";
87
+ 'eslint/use-isnan': "error";
88
+ 'eslint/valid-typeof': "error";
89
+ 'eslint/no-unused-expressions': "warn";
90
+ 'typescript/ban-ts-comment': "error";
91
+ 'typescript/no-duplicate-enum-values': "off";
92
+ 'typescript/no-empty-object-type': "error";
93
+ 'typescript/no-explicit-any': "error";
94
+ 'typescript/no-extra-non-null-assertion': "error";
95
+ 'typescript/no-misused-new': "error";
96
+ 'typescript/no-namespace': "error";
97
+ 'typescript/no-non-null-asserted-optional-chain': "error";
98
+ 'typescript/no-require-imports': "error";
99
+ 'typescript/no-this-alias': "error";
100
+ 'typescript/no-unnecessary-type-constraint': "error";
101
+ 'typescript/no-unsafe-declaration-merging': "error";
102
+ 'typescript/no-unsafe-function-type': "error";
103
+ 'typescript/no-wrapper-object-types': "error";
104
+ 'typescript/prefer-as-const': "error";
105
+ 'typescript/triple-slash-reference': "error";
106
+ 'typescript/explicit-member-accessibility': ["warn", {
107
+ accessibility: "no-public";
108
+ }];
109
+ 'eslint/id-length': "off";
110
+ 'eslint/sort-keys': "off";
111
+ 'eslint/capitalized-comments': "off";
112
+ 'eslint/func-style': "off";
113
+ 'eslint/complexity': "off";
114
+ 'eslint/max-params': "off";
115
+ 'eslint/no-ternary': "off";
116
+ 'eslint/curly': "warn";
117
+ 'typescript/consistent-type-definitions': ["warn", "type"];
118
+ 'eslint/max-statements': "off";
119
+ 'typescript/consistent-return': "off";
120
+ 'unicorn/switch-case-braces': "warn";
121
+ 'typescript/prefer-regexp-exec': "warn";
122
+ 'eslint/init-declarations': "off";
123
+ 'unicorn/no-null': "off";
124
+ 'eslint/no-undefined': "off";
125
+ 'eslint/no-console': "off";
126
+ 'eslint/no-continue': "off";
127
+ 'eslint/no-implicit-coercion': ["warn", {
128
+ allow: string[];
129
+ }];
130
+ 'eslint/no-plusplus': "off";
131
+ 'eslint/no-void': "off";
132
+ 'eslint/no-nested-ternary': "off";
133
+ 'eslint/no-empty-function': ["warn", {
134
+ allow: string[];
135
+ }];
136
+ 'unicorn/no-instanceof-builtins': "off";
137
+ 'unicorn/prefer-spread': "off";
138
+ 'eslint/new-cap': "off";
139
+ 'unicorn/no-await-expression-member': "off";
140
+ 'eslint/no-duplicate-imports': ["warn", {
141
+ allowSeparateTypeImports: boolean;
142
+ }];
143
+ 'import/no-named-export': "off";
144
+ 'import/no-default-export': "off";
145
+ 'import/prefer-default-export': "off";
146
+ 'import/no-namespace': "off";
147
+ 'import/exports-last': "off";
148
+ 'import/no-unassigned-import': "off";
149
+ 'import/group-exports': "off";
150
+ 'import/consistent-type-specifier-style': "off";
151
+ 'unicorn/no-new-array': "off";
152
+ 'eslint/no-array-constructor': "warn";
153
+ 'typescript/explicit-function-return-type': "off";
154
+ 'typescript/explicit-module-boundary-types': "off";
155
+ 'unicorn/no-anonymous-default-export': "off";
156
+ 'eslint/sort-imports': "off";
157
+ 'import/no-relative-parent-imports': "off";
158
+ 'unicorn/max-nested-calls': "off";
159
+ 'eslint/no-magic-numbers': "off";
160
+ 'unicorn/prefer-modern-math-apis': "off";
161
+ 'eslint/no-use-before-define': "off";
162
+ 'eslint/constructor-super': "off";
163
+ 'eslint/getter-return': "off";
164
+ 'eslint/no-dupe-class-members': "off";
165
+ 'eslint/no-dupe-keys': "off";
166
+ 'eslint/no-new-native-nonconstructor': "off";
167
+ 'eslint/no-setter-return': "off";
168
+ 'eslint/no-this-before-super': "off";
169
+ 'eslint/no-undef': "off";
170
+ 'eslint/no-unreachable': "off";
171
+ 'eslint/no-with': "off";
172
+ 'unicorn/no-nested-ternary': "off";
173
+ 'oxc/no-optional-chaining': "off";
174
+ 'oxc/no-rest-spread-properties': "off";
175
+ 'oxc/no-async-await': "off";
176
+ };
177
+ }[];
178
+ plugins: ("import" | "react" | "typescript" | "unicorn")[];
179
+ jsPlugins: {
180
+ name: string;
181
+ specifier: string;
182
+ }[];
183
+ rules: {
184
+ 'react/rules-of-hooks': "error";
185
+ 'react/exhaustive-deps': "warn";
186
+ 'react-hooks-js/set-state-in-effect': "warn";
187
+ 'react/only-export-components': "error";
188
+ 'react-compiler-js/react-compiler': "error";
189
+ 'react/jsx-filename-extension': "off";
190
+ 'react/jsx-max-depth': "off";
191
+ 'react/no-multi-comp': "off";
192
+ 'react/jsx-props-no-spreading': "off";
193
+ 'react/jsx-no-literals': "off";
194
+ 'react/forbid-component-props': "off";
195
+ 'react/forbid-dom-props': "off";
196
+ };
197
+ overrides: {
198
+ files: string[];
199
+ rules: {
200
+ 'react/display-name': "error";
201
+ 'react/jsx-key': "error";
202
+ 'react/jsx-no-comment-textnodes': "error";
203
+ 'react/jsx-no-duplicate-props': "error";
204
+ 'react/jsx-no-target-blank': "off";
205
+ 'react/jsx-no-undef': "error";
206
+ 'react/no-children-prop': "error";
207
+ 'react/no-danger-with-children': "error";
208
+ 'react/no-direct-mutation-state': "error";
209
+ 'react/no-find-dom-node': "error";
210
+ 'react/no-is-mounted': "error";
211
+ 'react/no-render-return-value': "error";
212
+ 'react/no-string-refs': "error";
213
+ 'react/no-unescaped-entities': "error";
214
+ 'react/no-unknown-property': "off";
215
+ 'react/no-unsafe': "off";
216
+ 'react/react-in-jsx-scope': "off";
217
+ 'react/require-render-return': "error";
218
+ 'import/no-anonymous-default-export': "warn";
219
+ 'jsx-a11y/alt-text': ["warn", {
220
+ elements: "img"[];
221
+ img: string[];
222
+ }];
223
+ 'jsx-a11y/aria-props': "warn";
224
+ 'jsx-a11y/aria-proptypes': "warn";
225
+ 'jsx-a11y/aria-unsupported-elements': "warn";
226
+ 'jsx-a11y/role-has-required-aria-props': "warn";
227
+ 'jsx-a11y/role-supports-aria-props': "warn";
228
+ };
229
+ globals: {
230
+ AudioWorkletGlobalScope: "readonly";
231
+ AudioWorkletProcessor: "readonly";
232
+ currentFrame: "readonly";
233
+ currentTime: "readonly";
234
+ registerProcessor: "readonly";
235
+ sampleRate: "readonly";
236
+ WorkletGlobalScope: "readonly";
237
+ };
238
+ plugins: ("import" | "jsx-a11y")[];
239
+ env: {
240
+ browser: true;
241
+ node: true;
242
+ };
243
+ }[];
244
+ }[];
245
+ plugins: ("import" | "nextjs" | "react" | "typescript" | "unicorn")[];
246
+ rules: {
247
+ 'nextjs/google-font-display': "warn";
248
+ 'nextjs/google-font-preconnect': "warn";
249
+ 'nextjs/next-script-for-ga': "warn";
250
+ 'nextjs/no-async-client-component': "warn";
251
+ 'nextjs/no-before-interactive-script-outside-document': "warn";
252
+ 'nextjs/no-css-tags': "warn";
253
+ 'nextjs/no-head-element': "warn";
254
+ 'nextjs/no-html-link-for-pages': "error";
255
+ 'nextjs/no-page-custom-font': "warn";
256
+ 'nextjs/no-styled-jsx-in-document': "warn";
257
+ 'nextjs/no-sync-scripts': "error";
258
+ 'nextjs/no-title-in-document-head': "warn";
259
+ 'nextjs/no-typos': "warn";
260
+ 'nextjs/no-unwanted-polyfillio': "warn";
261
+ 'nextjs/inline-script-id': "error";
262
+ 'nextjs/no-assign-module-variable': "error";
263
+ 'nextjs/no-document-import-in-page': "error";
264
+ 'nextjs/no-duplicate-head': "error";
265
+ 'nextjs/no-head-import-in-document': "error";
266
+ 'nextjs/no-script-component-in-head': "error";
267
+ 'react/only-export-components': ["warn", {
268
+ allowExportNames: string[];
269
+ }];
270
+ };
271
+ ignorePatterns: string[];
272
+ overrides: ({
273
+ files: never[];
274
+ rules: {
275
+ 'react/only-export-components'?: undefined;
276
+ };
277
+ } | {
278
+ files: string[];
279
+ rules: {
280
+ 'react/only-export-components': "off";
281
+ };
282
+ })[];
283
+ };
15
284
  export { type OxlintConfig, defineConfig, nextConfig };
16
- declare const _default: OxlintConfig;
285
+ declare const _default: {
286
+ extends: {
287
+ extends: {
288
+ plugins: ("import" | "typescript" | "unicorn")[];
289
+ jsPlugins: never[];
290
+ categories: {
291
+ correctness: "error";
292
+ suspicious: "warn";
293
+ pedantic: "off";
294
+ perf: "warn";
295
+ style: "warn";
296
+ restriction: "warn";
297
+ nursery: "off";
298
+ };
299
+ env: {
300
+ builtin: true;
301
+ };
302
+ options: {
303
+ typeAware: true;
304
+ };
305
+ rules: {
306
+ 'eslint/no-var': "warn";
307
+ 'eslint/prefer-const': "error";
308
+ 'eslint/prefer-rest-params': "error";
309
+ 'eslint/prefer-spread': "error";
310
+ 'eslint/no-async-promise-executor': "error";
311
+ 'eslint/no-case-declarations': "error";
312
+ 'eslint/no-class-assign': "error";
313
+ 'eslint/no-compare-neg-zero': "error";
314
+ 'eslint/no-cond-assign': "error";
315
+ 'eslint/no-const-assign': "error";
316
+ 'eslint/no-constant-binary-expression': "error";
317
+ 'eslint/no-constant-condition': "error";
318
+ 'eslint/no-control-regex': "error";
319
+ 'eslint/no-debugger': "error";
320
+ 'eslint/no-delete-var': "error";
321
+ 'eslint/no-dupe-else-if': "error";
322
+ 'eslint/no-duplicate-case': "error";
323
+ 'eslint/no-empty': "error";
324
+ 'eslint/no-empty-character-class': "error";
325
+ 'eslint/no-empty-pattern': "error";
326
+ 'eslint/no-empty-static-block': "error";
327
+ 'eslint/no-ex-assign': "error";
328
+ 'eslint/no-extra-boolean-cast': "error";
329
+ 'eslint/no-fallthrough': ["error", {
330
+ allowEmptyCase: boolean;
331
+ }];
332
+ 'eslint/no-func-assign': "error";
333
+ 'eslint/no-global-assign': "error";
334
+ 'eslint/no-import-assign': "error";
335
+ 'eslint/no-invalid-regexp': "error";
336
+ 'eslint/no-irregular-whitespace': "error";
337
+ 'eslint/no-loss-of-precision': "error";
338
+ 'eslint/no-misleading-character-class': "error";
339
+ 'eslint/no-nonoctal-decimal-escape': "error";
340
+ 'eslint/no-obj-calls': "error";
341
+ 'eslint/no-prototype-builtins': "error";
342
+ 'eslint/no-redeclare': "error";
343
+ 'eslint/no-regex-spaces': "error";
344
+ 'eslint/no-self-assign': "error";
345
+ 'eslint/no-shadow-restricted-names': "error";
346
+ 'eslint/no-sparse-arrays': "error";
347
+ 'eslint/no-unexpected-multiline': "error";
348
+ 'eslint/no-unsafe-finally': "error";
349
+ 'eslint/no-unsafe-negation': "error";
350
+ 'eslint/no-unsafe-optional-chaining': "error";
351
+ 'eslint/no-unused-labels': "error";
352
+ 'eslint/no-unused-private-class-members': "error";
353
+ 'eslint/no-unused-vars': "warn";
354
+ 'eslint/no-useless-backreference': "error";
355
+ 'eslint/no-useless-catch': "error";
356
+ 'eslint/no-useless-escape': "error";
357
+ 'eslint/require-yield': "error";
358
+ 'eslint/use-isnan': "error";
359
+ 'eslint/valid-typeof': "error";
360
+ 'eslint/no-unused-expressions': "warn";
361
+ 'typescript/ban-ts-comment': "error";
362
+ 'typescript/no-duplicate-enum-values': "off";
363
+ 'typescript/no-empty-object-type': "error";
364
+ 'typescript/no-explicit-any': "error";
365
+ 'typescript/no-extra-non-null-assertion': "error";
366
+ 'typescript/no-misused-new': "error";
367
+ 'typescript/no-namespace': "error";
368
+ 'typescript/no-non-null-asserted-optional-chain': "error";
369
+ 'typescript/no-require-imports': "error";
370
+ 'typescript/no-this-alias': "error";
371
+ 'typescript/no-unnecessary-type-constraint': "error";
372
+ 'typescript/no-unsafe-declaration-merging': "error";
373
+ 'typescript/no-unsafe-function-type': "error";
374
+ 'typescript/no-wrapper-object-types': "error";
375
+ 'typescript/prefer-as-const': "error";
376
+ 'typescript/triple-slash-reference': "error";
377
+ 'typescript/explicit-member-accessibility': ["warn", {
378
+ accessibility: "no-public";
379
+ }];
380
+ 'eslint/id-length': "off";
381
+ 'eslint/sort-keys': "off";
382
+ 'eslint/capitalized-comments': "off";
383
+ 'eslint/func-style': "off";
384
+ 'eslint/complexity': "off";
385
+ 'eslint/max-params': "off";
386
+ 'eslint/no-ternary': "off";
387
+ 'eslint/curly': "warn";
388
+ 'typescript/consistent-type-definitions': ["warn", "type"];
389
+ 'eslint/max-statements': "off";
390
+ 'typescript/consistent-return': "off";
391
+ 'unicorn/switch-case-braces': "warn";
392
+ 'typescript/prefer-regexp-exec': "warn";
393
+ 'eslint/init-declarations': "off";
394
+ 'unicorn/no-null': "off";
395
+ 'eslint/no-undefined': "off";
396
+ 'eslint/no-console': "off";
397
+ 'eslint/no-continue': "off";
398
+ 'eslint/no-implicit-coercion': ["warn", {
399
+ allow: string[];
400
+ }];
401
+ 'eslint/no-plusplus': "off";
402
+ 'eslint/no-void': "off";
403
+ 'eslint/no-nested-ternary': "off";
404
+ 'eslint/no-empty-function': ["warn", {
405
+ allow: string[];
406
+ }];
407
+ 'unicorn/no-instanceof-builtins': "off";
408
+ 'unicorn/prefer-spread': "off";
409
+ 'eslint/new-cap': "off";
410
+ 'unicorn/no-await-expression-member': "off";
411
+ 'eslint/no-duplicate-imports': ["warn", {
412
+ allowSeparateTypeImports: boolean;
413
+ }];
414
+ 'import/no-named-export': "off";
415
+ 'import/no-default-export': "off";
416
+ 'import/prefer-default-export': "off";
417
+ 'import/no-namespace': "off";
418
+ 'import/exports-last': "off";
419
+ 'import/no-unassigned-import': "off";
420
+ 'import/group-exports': "off";
421
+ 'import/consistent-type-specifier-style': "off";
422
+ 'unicorn/no-new-array': "off";
423
+ 'eslint/no-array-constructor': "warn";
424
+ 'typescript/explicit-function-return-type': "off";
425
+ 'typescript/explicit-module-boundary-types': "off";
426
+ 'unicorn/no-anonymous-default-export': "off";
427
+ 'eslint/sort-imports': "off";
428
+ 'import/no-relative-parent-imports': "off";
429
+ 'unicorn/max-nested-calls': "off";
430
+ 'eslint/no-magic-numbers': "off";
431
+ 'unicorn/prefer-modern-math-apis': "off";
432
+ 'eslint/no-use-before-define': "off";
433
+ 'eslint/constructor-super': "off";
434
+ 'eslint/getter-return': "off";
435
+ 'eslint/no-dupe-class-members': "off";
436
+ 'eslint/no-dupe-keys': "off";
437
+ 'eslint/no-new-native-nonconstructor': "off";
438
+ 'eslint/no-setter-return': "off";
439
+ 'eslint/no-this-before-super': "off";
440
+ 'eslint/no-undef': "off";
441
+ 'eslint/no-unreachable': "off";
442
+ 'eslint/no-with': "off";
443
+ 'unicorn/no-nested-ternary': "off";
444
+ 'oxc/no-optional-chaining': "off";
445
+ 'oxc/no-rest-spread-properties': "off";
446
+ 'oxc/no-async-await': "off";
447
+ };
448
+ }[];
449
+ plugins: ("import" | "react" | "typescript" | "unicorn")[];
450
+ jsPlugins: {
451
+ name: string;
452
+ specifier: string;
453
+ }[];
454
+ rules: {
455
+ 'react/rules-of-hooks': "error";
456
+ 'react/exhaustive-deps': "warn";
457
+ 'react-hooks-js/set-state-in-effect': "warn";
458
+ 'react/only-export-components': "error";
459
+ 'react-compiler-js/react-compiler': "error";
460
+ 'react/jsx-filename-extension': "off";
461
+ 'react/jsx-max-depth': "off";
462
+ 'react/no-multi-comp': "off";
463
+ 'react/jsx-props-no-spreading': "off";
464
+ 'react/jsx-no-literals': "off";
465
+ 'react/forbid-component-props': "off";
466
+ 'react/forbid-dom-props': "off";
467
+ };
468
+ overrides: {
469
+ files: string[];
470
+ rules: {
471
+ 'react/display-name': "error";
472
+ 'react/jsx-key': "error";
473
+ 'react/jsx-no-comment-textnodes': "error";
474
+ 'react/jsx-no-duplicate-props': "error";
475
+ 'react/jsx-no-target-blank': "off";
476
+ 'react/jsx-no-undef': "error";
477
+ 'react/no-children-prop': "error";
478
+ 'react/no-danger-with-children': "error";
479
+ 'react/no-direct-mutation-state': "error";
480
+ 'react/no-find-dom-node': "error";
481
+ 'react/no-is-mounted': "error";
482
+ 'react/no-render-return-value': "error";
483
+ 'react/no-string-refs': "error";
484
+ 'react/no-unescaped-entities': "error";
485
+ 'react/no-unknown-property': "off";
486
+ 'react/no-unsafe': "off";
487
+ 'react/react-in-jsx-scope': "off";
488
+ 'react/require-render-return': "error";
489
+ 'import/no-anonymous-default-export': "warn";
490
+ 'jsx-a11y/alt-text': ["warn", {
491
+ elements: "img"[];
492
+ img: string[];
493
+ }];
494
+ 'jsx-a11y/aria-props': "warn";
495
+ 'jsx-a11y/aria-proptypes': "warn";
496
+ 'jsx-a11y/aria-unsupported-elements': "warn";
497
+ 'jsx-a11y/role-has-required-aria-props': "warn";
498
+ 'jsx-a11y/role-supports-aria-props': "warn";
499
+ };
500
+ globals: {
501
+ AudioWorkletGlobalScope: "readonly";
502
+ AudioWorkletProcessor: "readonly";
503
+ currentFrame: "readonly";
504
+ currentTime: "readonly";
505
+ registerProcessor: "readonly";
506
+ sampleRate: "readonly";
507
+ WorkletGlobalScope: "readonly";
508
+ };
509
+ plugins: ("import" | "jsx-a11y")[];
510
+ env: {
511
+ browser: true;
512
+ node: true;
513
+ };
514
+ }[];
515
+ }[];
516
+ plugins: ("import" | "nextjs" | "react" | "typescript" | "unicorn")[];
517
+ rules: {
518
+ 'nextjs/google-font-display': "warn";
519
+ 'nextjs/google-font-preconnect': "warn";
520
+ 'nextjs/next-script-for-ga': "warn";
521
+ 'nextjs/no-async-client-component': "warn";
522
+ 'nextjs/no-before-interactive-script-outside-document': "warn";
523
+ 'nextjs/no-css-tags': "warn";
524
+ 'nextjs/no-head-element': "warn";
525
+ 'nextjs/no-html-link-for-pages': "error";
526
+ 'nextjs/no-page-custom-font': "warn";
527
+ 'nextjs/no-styled-jsx-in-document': "warn";
528
+ 'nextjs/no-sync-scripts': "error";
529
+ 'nextjs/no-title-in-document-head': "warn";
530
+ 'nextjs/no-typos': "warn";
531
+ 'nextjs/no-unwanted-polyfillio': "warn";
532
+ 'nextjs/inline-script-id': "error";
533
+ 'nextjs/no-assign-module-variable': "error";
534
+ 'nextjs/no-document-import-in-page': "error";
535
+ 'nextjs/no-duplicate-head': "error";
536
+ 'nextjs/no-head-import-in-document': "error";
537
+ 'nextjs/no-script-component-in-head': "error";
538
+ 'react/only-export-components': ["warn", {
539
+ allowExportNames: string[];
540
+ }];
541
+ };
542
+ ignorePatterns: string[];
543
+ overrides: ({
544
+ files: never[];
545
+ rules: {
546
+ 'react/only-export-components'?: undefined;
547
+ };
548
+ } | {
549
+ files: string[];
550
+ rules: {
551
+ 'react/only-export-components': "off";
552
+ };
553
+ })[];
554
+ };
17
555
  export default _default;
18
556
  //# sourceMappingURL=next.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"next.d.ts","sourceRoot":"","sources":["../src/next.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,KAAK,YAAY,EAAE,MAAM,QAAQ,CAAC;AACzD,OAAO,EAAE,KAAK,YAAY,EAAe,MAAM,YAAY,CAAC;AAE5D,KAAK,WAAW,GAAG,YAAY,GAAG;IAChC;;;;;;;OAOG;IACH,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB,CAAC;AAIF,iBAAS,UAAU,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,gBAwEjD;AAED,OAAO,EAAE,KAAK,YAAY,EAAE,YAAY,EAAE,UAAU,EAAE,CAAC;;AAEvD,wBAA4B"}
1
+ {"version":3,"file":"next.d.ts","sourceRoot":"","sources":["../src/next.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,KAAK,YAAY,EAAE,MAAM,QAAQ,CAAC;AACzD,OAAO,EAAE,KAAK,YAAY,EAAe,MAAM,YAAY,CAAC;AAE5D,KAAK,WAAW,GAAG,YAAY,GAAG;IAChC;;;;;;;OAOG;IACH,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB,CAAC;AAIF,iBAAS,UAAU,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0EjD;AAED,OAAO,EAAE,KAAK,YAAY,EAAE,YAAY,EAAE,UAAU,EAAE,CAAC"}
package/dist/next.js CHANGED
@@ -5,9 +5,10 @@ import { reactConfig } from './react.js';
5
5
  const DEFAULT_OPTIONS = { uiPath: 'src/components/ui/' };
6
6
  function nextConfig(options) {
7
7
  const opts = { ...DEFAULT_OPTIONS, ...options };
8
+ const react = reactConfig(options);
8
9
  return defineConfig({
9
- extends: [reactConfig(options)],
10
- plugins: ['nextjs'],
10
+ extends: [react],
11
+ plugins: [...react.plugins, 'nextjs'],
11
12
  rules: {
12
13
  'nextjs/google-font-display': 'warn',
13
14
  'nextjs/google-font-preconnect': 'warn',
package/dist/next.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"next.js","sourceRoot":"","sources":["../src/next.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,OAAO,MAAM,cAAc,CAAC;AACnC,OAAO,EAAE,YAAY,EAAqB,MAAM,QAAQ,CAAC;AACzD,OAAO,EAAqB,WAAW,EAAE,MAAM,YAAY,CAAC;AAc5D,MAAM,eAAe,GAAgB,EAAE,MAAM,EAAE,oBAAoB,EAAE,CAAC;AAEtE,SAAS,UAAU,CAAC,OAA8B;IAChD,MAAM,IAAI,GAAG,EAAE,GAAG,eAAe,EAAE,GAAG,OAAO,EAAE,CAAC;IAEhD,OAAO,YAAY,CAAC;QAClB,OAAO,EAAE,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;QAC/B,OAAO,EAAE,CAAC,QAAQ,CAAC;QACnB,KAAK,EAAE;YACL,4BAA4B,EAAE,MAAM;YACpC,+BAA+B,EAAE,MAAM;YACvC,2BAA2B,EAAE,MAAM;YACnC,kCAAkC,EAAE,MAAM;YAC1C,sDAAsD,EAAE,MAAM;YAC9D,oBAAoB,EAAE,MAAM;YAC5B,wBAAwB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ACE,oFAAoF;oBACpF,gBAAgB,EAAE;wBAChB,0HAA0H;wBAC1H,sBAAsB;wBAEtB,SAAS;wBACT,eAAe;wBACf,YAAY;wBACZ,YAAY;wBACZ,SAAS;wBACT,iBAAiB;wBACjB,aAAa;wBACb,UAAU;wBACV,kBAAkB;wBAClB,UAAU;wBACV,kBAAkB;wBAClB,uBAAuB;wBACvB,kBAAkB;wBAClB,sBAAsB;qBACvB;iBACF;aACF;SACF;QACD,cAAc,EAAE,CAAC,UAAU,EAAE,QAAQ,EAAE,UAAU,EAAE,eAAe,CAAC;QACnE,SAAS,EAAE;YACT,IAAI,CAAC,MAAM,KAAK,IAAI;gBAClB,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE;gBAC1B,CAAC,CAAC;oBACE,KAAK,EAAE;wBACL,GAAG,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,IAAI,CAAC,MAAM,CAAC,mCAAmC,CAAC,UAAU,CACvF,IAAI,EACJ,GAAG,CACJ;qBACF;oBACD,KAAK,EAAE;wBACL,8BAA8B,EAAE,KAAK;qBACtC;iBACF;SACN;KACF,CAAC,CAAC;AACL,CAAC;AAED,OAAO,EAAqB,YAAY,EAAE,UAAU,EAAE,CAAC;AAEvD,eAAe,UAAU,EAAE,CAAC"}
package/dist/node.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  import { defineConfig, type OxlintConfig } from 'oxlint';
2
2
  type NodeOptions = {};
3
- declare function nodeConfig(_options?: Partial<NodeOptions>): {
3
+ declare function nodeConfig(options?: Partial<NodeOptions>): {
4
4
  extends: {
5
- plugins: ("unicorn" | "typescript")[];
5
+ plugins: ("import" | "typescript" | "unicorn")[];
6
6
  jsPlugins: never[];
7
7
  categories: {
8
8
  correctness: "error";
@@ -92,7 +92,7 @@ declare function nodeConfig(_options?: Partial<NodeOptions>): {
92
92
  'typescript/prefer-as-const': "error";
93
93
  'typescript/triple-slash-reference': "error";
94
94
  'typescript/explicit-member-accessibility': ["warn", {
95
- accessibility: string;
95
+ accessibility: "no-public";
96
96
  }];
97
97
  'eslint/id-length': "off";
98
98
  'eslint/sort-keys': "off";
@@ -102,7 +102,7 @@ declare function nodeConfig(_options?: Partial<NodeOptions>): {
102
102
  'eslint/max-params': "off";
103
103
  'eslint/no-ternary': "off";
104
104
  'eslint/curly': "warn";
105
- 'typescript/consistent-type-definitions': ["warn", string];
105
+ 'typescript/consistent-type-definitions': ["warn", "type"];
106
106
  'eslint/max-statements': "off";
107
107
  'typescript/consistent-return': "off";
108
108
  'unicorn/switch-case-braces': "warn";
@@ -134,12 +134,16 @@ declare function nodeConfig(_options?: Partial<NodeOptions>): {
134
134
  'import/no-namespace': "off";
135
135
  'import/exports-last': "off";
136
136
  'import/no-unassigned-import': "off";
137
+ 'import/group-exports': "off";
138
+ 'import/consistent-type-specifier-style': "off";
137
139
  'unicorn/no-new-array': "off";
138
140
  'eslint/no-array-constructor': "warn";
139
141
  'typescript/explicit-function-return-type': "off";
140
142
  'typescript/explicit-module-boundary-types': "off";
141
143
  'unicorn/no-anonymous-default-export': "off";
142
144
  'eslint/sort-imports': "off";
145
+ 'import/no-relative-parent-imports': "off";
146
+ 'unicorn/max-nested-calls': "off";
143
147
  'eslint/no-magic-numbers': "off";
144
148
  'unicorn/prefer-modern-math-apis': "off";
145
149
  'eslint/no-use-before-define': "off";
@@ -159,14 +163,21 @@ declare function nodeConfig(_options?: Partial<NodeOptions>): {
159
163
  'oxc/no-async-await': "off";
160
164
  };
161
165
  }[];
166
+ plugins: ("import" | "typescript" | "unicorn")[];
162
167
  env: {
163
168
  node: true;
164
169
  };
170
+ rules: {
171
+ 'eslint/no-underscore-dangle': ["warn", {
172
+ allow: string[];
173
+ }];
174
+ 'no-nodejs-modules': "off";
175
+ };
165
176
  };
166
177
  export { type OxlintConfig, defineConfig, nodeConfig };
167
178
  declare const _default: {
168
179
  extends: {
169
- plugins: ("unicorn" | "typescript")[];
180
+ plugins: ("import" | "typescript" | "unicorn")[];
170
181
  jsPlugins: never[];
171
182
  categories: {
172
183
  correctness: "error";
@@ -256,7 +267,7 @@ declare const _default: {
256
267
  'typescript/prefer-as-const': "error";
257
268
  'typescript/triple-slash-reference': "error";
258
269
  'typescript/explicit-member-accessibility': ["warn", {
259
- accessibility: string;
270
+ accessibility: "no-public";
260
271
  }];
261
272
  'eslint/id-length': "off";
262
273
  'eslint/sort-keys': "off";
@@ -266,7 +277,7 @@ declare const _default: {
266
277
  'eslint/max-params': "off";
267
278
  'eslint/no-ternary': "off";
268
279
  'eslint/curly': "warn";
269
- 'typescript/consistent-type-definitions': ["warn", string];
280
+ 'typescript/consistent-type-definitions': ["warn", "type"];
270
281
  'eslint/max-statements': "off";
271
282
  'typescript/consistent-return': "off";
272
283
  'unicorn/switch-case-braces': "warn";
@@ -298,12 +309,16 @@ declare const _default: {
298
309
  'import/no-namespace': "off";
299
310
  'import/exports-last': "off";
300
311
  'import/no-unassigned-import': "off";
312
+ 'import/group-exports': "off";
313
+ 'import/consistent-type-specifier-style': "off";
301
314
  'unicorn/no-new-array': "off";
302
315
  'eslint/no-array-constructor': "warn";
303
316
  'typescript/explicit-function-return-type': "off";
304
317
  'typescript/explicit-module-boundary-types': "off";
305
318
  'unicorn/no-anonymous-default-export': "off";
306
319
  'eslint/sort-imports': "off";
320
+ 'import/no-relative-parent-imports': "off";
321
+ 'unicorn/max-nested-calls': "off";
307
322
  'eslint/no-magic-numbers': "off";
308
323
  'unicorn/prefer-modern-math-apis': "off";
309
324
  'eslint/no-use-before-define': "off";
@@ -323,9 +338,16 @@ declare const _default: {
323
338
  'oxc/no-async-await': "off";
324
339
  };
325
340
  }[];
341
+ plugins: ("import" | "typescript" | "unicorn")[];
326
342
  env: {
327
343
  node: true;
328
344
  };
345
+ rules: {
346
+ 'eslint/no-underscore-dangle': ["warn", {
347
+ allow: string[];
348
+ }];
349
+ 'no-nodejs-modules': "off";
350
+ };
329
351
  };
330
352
  export default _default;
331
353
  //# sourceMappingURL=node.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../src/node.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,KAAK,YAAY,EAAE,MAAM,QAAQ,CAAC;AAGzD,KAAK,WAAW,GAAG,EAAE,CAAC;AAItB,iBAAS,UAAU,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EASlD;AAED,OAAO,EAAE,KAAK,YAAY,EAAE,YAAY,EAAE,UAAU,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEvD,wBAA4B"}
1
+ {"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../src/node.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,KAAK,YAAY,EAAE,MAAM,QAAQ,CAAC;AAGzD,KAAK,WAAW,GAAG,EAAE,CAAC;AAItB,iBAAS,UAAU,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqBjD;AAED,OAAO,EAAE,KAAK,YAAY,EAAE,YAAY,EAAE,UAAU,EAAE,CAAC"}
package/dist/node.js CHANGED
@@ -1,13 +1,23 @@
1
1
  import { defineConfig } from 'oxlint';
2
2
  import { baseConfig } from './base.js';
3
3
  // const DEFAULT_OPTIONS: NodeOptions = {};
4
- function nodeConfig(_options) {
4
+ function nodeConfig(options) {
5
5
  // const opts = { ...DEFAULT_OPTIONS, ...options };
6
+ const base = baseConfig(options);
6
7
  return defineConfig({
7
- extends: [baseConfig()],
8
+ extends: [base],
9
+ // when changing plugins the parent plugins need to be extended, otherwise they are overridden
10
+ plugins: base.plugins,
8
11
  env: {
9
12
  node: true,
10
13
  },
14
+ rules: {
15
+ 'eslint/no-underscore-dangle': [
16
+ 'warn',
17
+ { allow: ['__dirname', '__filename'] },
18
+ ],
19
+ 'no-nodejs-modules': 'off',
20
+ },
11
21
  });
12
22
  }
13
23
  export { defineConfig, nodeConfig };
package/dist/node.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"node.js","sourceRoot":"","sources":["../src/node.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAqB,MAAM,QAAQ,CAAC;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAIvC,2CAA2C;AAE3C,SAAS,UAAU,CAAC,QAA+B;IACjD,mDAAmD;IAEnD,OAAO,YAAY,CAAC;QAClB,OAAO,EAAE,CAAC,UAAU,EAAE,CAAC;QACvB,GAAG,EAAE;YACH,IAAI,EAAE,IAAI;SACX;KACF,CAAC,CAAC;AACL,CAAC;AAED,OAAO,EAAqB,YAAY,EAAE,UAAU,EAAE,CAAC;AAEvD,eAAe,UAAU,EAAE,CAAC"}
1
+ {"version":3,"file":"node.js","sourceRoot":"","sources":["../src/node.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAqB,MAAM,QAAQ,CAAC;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAIvC,2CAA2C;AAE3C,SAAS,UAAU,CAAC,OAA8B;IAChD,mDAAmD;IAEnD,MAAM,IAAI,GAAG,UAAU,CAAC,OAAO,CAAC,CAAC;IAEjC,OAAO,YAAY,CAAC;QAClB,OAAO,EAAE,CAAC,IAAI,CAAC;QACf,8FAA8F;QAC9F,OAAO,EAAE,IAAI,CAAC,OAAO;QACrB,GAAG,EAAE;YACH,IAAI,EAAE,IAAI;SACX;QAED,KAAK,EAAE;YACL,6BAA6B,EAAE;gBAC7B,MAAM;gBACN,EAAE,KAAK,EAAE,CAAC,WAAW,EAAE,YAAY,CAAC,EAAE;aACvC;YACD,mBAAmB,EAAE,KAAK;SAC3B;KACF,CAAC,CAAC;AACL,CAAC;AAED,OAAO,EAAqB,YAAY,EAAE,UAAU,EAAE,CAAC;AAEvD,eAAe,UAAU,EAAE,CAAC"}
package/dist/react.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  import { defineConfig, type OxlintConfig } from 'oxlint';
2
2
  export type ReactOptions = {};
3
- declare function reactConfig(_options?: Partial<ReactOptions>): {
3
+ declare function reactConfig(options?: Partial<ReactOptions>): {
4
4
  extends: {
5
- plugins: ("unicorn" | "typescript")[];
5
+ plugins: ("import" | "typescript" | "unicorn")[];
6
6
  jsPlugins: never[];
7
7
  categories: {
8
8
  correctness: "error";
@@ -92,7 +92,7 @@ declare function reactConfig(_options?: Partial<ReactOptions>): {
92
92
  'typescript/prefer-as-const': "error";
93
93
  'typescript/triple-slash-reference': "error";
94
94
  'typescript/explicit-member-accessibility': ["warn", {
95
- accessibility: string;
95
+ accessibility: "no-public";
96
96
  }];
97
97
  'eslint/id-length': "off";
98
98
  'eslint/sort-keys': "off";
@@ -102,7 +102,7 @@ declare function reactConfig(_options?: Partial<ReactOptions>): {
102
102
  'eslint/max-params': "off";
103
103
  'eslint/no-ternary': "off";
104
104
  'eslint/curly': "warn";
105
- 'typescript/consistent-type-definitions': ["warn", string];
105
+ 'typescript/consistent-type-definitions': ["warn", "type"];
106
106
  'eslint/max-statements': "off";
107
107
  'typescript/consistent-return': "off";
108
108
  'unicorn/switch-case-braces': "warn";
@@ -134,12 +134,16 @@ declare function reactConfig(_options?: Partial<ReactOptions>): {
134
134
  'import/no-namespace': "off";
135
135
  'import/exports-last': "off";
136
136
  'import/no-unassigned-import': "off";
137
+ 'import/group-exports': "off";
138
+ 'import/consistent-type-specifier-style': "off";
137
139
  'unicorn/no-new-array': "off";
138
140
  'eslint/no-array-constructor': "warn";
139
141
  'typescript/explicit-function-return-type': "off";
140
142
  'typescript/explicit-module-boundary-types': "off";
141
143
  'unicorn/no-anonymous-default-export': "off";
142
144
  'eslint/sort-imports': "off";
145
+ 'import/no-relative-parent-imports': "off";
146
+ 'unicorn/max-nested-calls': "off";
143
147
  'eslint/no-magic-numbers': "off";
144
148
  'unicorn/prefer-modern-math-apis': "off";
145
149
  'eslint/no-use-before-define': "off";
@@ -159,7 +163,7 @@ declare function reactConfig(_options?: Partial<ReactOptions>): {
159
163
  'oxc/no-async-await': "off";
160
164
  };
161
165
  }[];
162
- plugins: "react"[];
166
+ plugins: ("import" | "react" | "typescript" | "unicorn")[];
163
167
  jsPlugins: {
164
168
  name: string;
165
169
  specifier: string;
@@ -174,6 +178,9 @@ declare function reactConfig(_options?: Partial<ReactOptions>): {
174
178
  'react/jsx-max-depth': "off";
175
179
  'react/no-multi-comp': "off";
176
180
  'react/jsx-props-no-spreading': "off";
181
+ 'react/jsx-no-literals': "off";
182
+ 'react/forbid-component-props': "off";
183
+ 'react/forbid-dom-props': "off";
177
184
  };
178
185
  overrides: {
179
186
  files: string[];
@@ -198,7 +205,7 @@ declare function reactConfig(_options?: Partial<ReactOptions>): {
198
205
  'react/require-render-return': "error";
199
206
  'import/no-anonymous-default-export': "warn";
200
207
  'jsx-a11y/alt-text': ["warn", {
201
- elements: string[];
208
+ elements: "img"[];
202
209
  img: string[];
203
210
  }];
204
211
  'jsx-a11y/aria-props': "warn";
@@ -226,7 +233,7 @@ declare function reactConfig(_options?: Partial<ReactOptions>): {
226
233
  export { type OxlintConfig, defineConfig, reactConfig };
227
234
  declare const _default: {
228
235
  extends: {
229
- plugins: ("unicorn" | "typescript")[];
236
+ plugins: ("import" | "typescript" | "unicorn")[];
230
237
  jsPlugins: never[];
231
238
  categories: {
232
239
  correctness: "error";
@@ -316,7 +323,7 @@ declare const _default: {
316
323
  'typescript/prefer-as-const': "error";
317
324
  'typescript/triple-slash-reference': "error";
318
325
  'typescript/explicit-member-accessibility': ["warn", {
319
- accessibility: string;
326
+ accessibility: "no-public";
320
327
  }];
321
328
  'eslint/id-length': "off";
322
329
  'eslint/sort-keys': "off";
@@ -326,7 +333,7 @@ declare const _default: {
326
333
  'eslint/max-params': "off";
327
334
  'eslint/no-ternary': "off";
328
335
  'eslint/curly': "warn";
329
- 'typescript/consistent-type-definitions': ["warn", string];
336
+ 'typescript/consistent-type-definitions': ["warn", "type"];
330
337
  'eslint/max-statements': "off";
331
338
  'typescript/consistent-return': "off";
332
339
  'unicorn/switch-case-braces': "warn";
@@ -358,12 +365,16 @@ declare const _default: {
358
365
  'import/no-namespace': "off";
359
366
  'import/exports-last': "off";
360
367
  'import/no-unassigned-import': "off";
368
+ 'import/group-exports': "off";
369
+ 'import/consistent-type-specifier-style': "off";
361
370
  'unicorn/no-new-array': "off";
362
371
  'eslint/no-array-constructor': "warn";
363
372
  'typescript/explicit-function-return-type': "off";
364
373
  'typescript/explicit-module-boundary-types': "off";
365
374
  'unicorn/no-anonymous-default-export': "off";
366
375
  'eslint/sort-imports': "off";
376
+ 'import/no-relative-parent-imports': "off";
377
+ 'unicorn/max-nested-calls': "off";
367
378
  'eslint/no-magic-numbers': "off";
368
379
  'unicorn/prefer-modern-math-apis': "off";
369
380
  'eslint/no-use-before-define': "off";
@@ -383,7 +394,7 @@ declare const _default: {
383
394
  'oxc/no-async-await': "off";
384
395
  };
385
396
  }[];
386
- plugins: "react"[];
397
+ plugins: ("import" | "react" | "typescript" | "unicorn")[];
387
398
  jsPlugins: {
388
399
  name: string;
389
400
  specifier: string;
@@ -398,6 +409,9 @@ declare const _default: {
398
409
  'react/jsx-max-depth': "off";
399
410
  'react/no-multi-comp': "off";
400
411
  'react/jsx-props-no-spreading': "off";
412
+ 'react/jsx-no-literals': "off";
413
+ 'react/forbid-component-props': "off";
414
+ 'react/forbid-dom-props': "off";
401
415
  };
402
416
  overrides: {
403
417
  files: string[];
@@ -422,7 +436,7 @@ declare const _default: {
422
436
  'react/require-render-return': "error";
423
437
  'import/no-anonymous-default-export': "warn";
424
438
  'jsx-a11y/alt-text': ["warn", {
425
- elements: string[];
439
+ elements: "img"[];
426
440
  img: string[];
427
441
  }];
428
442
  'jsx-a11y/aria-props': "warn";
@@ -1 +1 @@
1
- {"version":3,"file":"react.d.ts","sourceRoot":"","sources":["../src/react.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,KAAK,YAAY,EAAE,MAAM,QAAQ,CAAC;AAGzD,MAAM,MAAM,YAAY,GAAG,EAAE,CAAC;AAI9B,iBAAS,WAAW,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4EpD;AAED,OAAO,EAAE,KAAK,YAAY,EAAE,YAAY,EAAE,WAAW,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAExD,wBAA6B"}
1
+ {"version":3,"file":"react.d.ts","sourceRoot":"","sources":["../src/react.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,KAAK,YAAY,EAAE,MAAM,QAAQ,CAAC;AAGzD,MAAM,MAAM,YAAY,GAAG,EAAE,CAAC;AAI9B,iBAAS,WAAW,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmFnD;AAED,OAAO,EAAE,KAAK,YAAY,EAAE,YAAY,EAAE,WAAW,EAAE,CAAC"}
package/dist/react.js CHANGED
@@ -1,11 +1,12 @@
1
1
  import { defineConfig } from 'oxlint';
2
2
  import { baseConfig } from './base.js';
3
3
  // const DEFAULT_OPTIONS: ReactOptions = {};
4
- function reactConfig(_options) {
4
+ function reactConfig(options) {
5
5
  // const opts = { ...DEFAULT_OPTIONS, ...options };
6
+ const base = baseConfig(options);
6
7
  return defineConfig({
7
- extends: [baseConfig()],
8
- plugins: ['react'],
8
+ extends: [base],
9
+ plugins: [...base.plugins, 'react'],
9
10
  jsPlugins: [
10
11
  // react compiler is not yet supported by oxc
11
12
  // https://github.com/oxc-project/oxc/issues/10048
@@ -26,6 +27,10 @@ function reactConfig(_options) {
26
27
  'react/jsx-max-depth': 'off',
27
28
  'react/no-multi-comp': 'off',
28
29
  'react/jsx-props-no-spreading': 'off',
30
+ 'react/jsx-no-literals': 'off',
31
+ // conflicts with tailwind
32
+ 'react/forbid-component-props': 'off',
33
+ 'react/forbid-dom-props': 'off',
29
34
  },
30
35
  overrides: [
31
36
  {
package/dist/react.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"react.js","sourceRoot":"","sources":["../src/react.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAqB,MAAM,QAAQ,CAAC;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAIvC,4CAA4C;AAE5C,SAAS,WAAW,CAAC,QAAgC;IACnD,mDAAmD;IAEnD,OAAO,YAAY,CAAC;QAClB,OAAO,EAAE,CAAC,UAAU,EAAE,CAAC;QACvB,OAAO,EAAE,CAAC,OAAO,CAAC;QAClB,SAAS,EAAE;YACT,6CAA6C;YAC7C,kDAAkD;YAClD,0DAA0D;YAC1D,iDAAiD;YACjD,gEAAgE;YAChE,+CAA+C;YAC/C,EAAE,IAAI,EAAE,gBAAgB,EAAE,SAAS,EAAE,2BAA2B,EAAE;YAClE,EAAE,IAAI,EAAE,mBAAmB,EAAE,SAAS,EAAE,8BAA8B,EAAE;SACzE;QACD,KAAK,EAAE;YACL,sBAAsB,EAAE,OAAO;YAC/B,uBAAuB,EAAE,MAAM;YAC/B,oCAAoC,EAAE,MAAM;YAC5C,8BAA8B,EAAE,OAAO;YACvC,kCAAkC,EAAE,OAAO;YAE3C,8BAA8B,EAAE,KAAK;YACrC,qBAAqB,EAAE,KAAK;YAC5B,qBAAqB,EAAE,KAAK;YAC5B,8BAA8B,EAAE,KAAK;SACtC;QACD,SAAS,EAAE;YACT;gBACE,KAAK,EAAE,CAAC,kCAAkC,CAAC;gBAC3C,KAAK,EAAE;oBACL,oBAAoB,EAAE,OAAO;oBAC7B,eAAe,EAAE,OAAO;oBACxB,gCAAgC,EAAE,OAAO;oBACzC,8BAA8B,EAAE,OAAO;oBACvC,2BAA2B,EAAE,KAAK;oBAClC,oBAAoB,EAAE,OAAO;oBAC7B,wBAAwB,EAAE,OAAO;oBACjC,+BAA+B,EAAE,OAAO;oBACxC,mEAAmE;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,EAAE,OAAO;oBACvC,sBAAsB,EAAE,OAAO;oBAC/B,6BAA6B,EAAE,OAAO;oBACtC,2BAA2B,EAAE,KAAK;oBAClC,iBAAiB,EAAE,KAAK;oBACxB,0BAA0B,EAAE,KAAK;oBACjC,6BAA6B,EAAE,OAAO;oBACtC,oCAAoC,EAAE,MAAM;oBAC5C,mBAAmB,EAAE,CAAC,MAAM,EAAE,EAAE,QAAQ,EAAE,CAAC,KAAK,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;oBACpE,qBAAqB,EAAE,MAAM;oBAC7B,yBAAyB,EAAE,MAAM;oBACjC,oCAAoC,EAAE,MAAM;oBAC5C,uCAAuC,EAAE,MAAM;oBAC/C,mCAAmC,EAAE,MAAM;iBAC5C;gBACD,OAAO,EAAE;oBACP,uBAAuB,EAAE,UAAU;oBACnC,qBAAqB,EAAE,UAAU;oBACjC,YAAY,EAAE,UAAU;oBACxB,WAAW,EAAE,UAAU;oBACvB,iBAAiB,EAAE,UAAU;oBAC7B,UAAU,EAAE,UAAU;oBACtB,kBAAkB,EAAE,UAAU;iBAC/B;gBACD,OAAO,EAAE,CAAC,QAAQ,EAAE,UAAU,CAAC;gBAC/B,GAAG,EAAE;oBACH,OAAO,EAAE,IAAI;oBACb,IAAI,EAAE,IAAI;iBACX;aACF;SACF;KACF,CAAC,CAAC;AACL,CAAC;AAED,OAAO,EAAqB,YAAY,EAAE,WAAW,EAAE,CAAC;AAExD,eAAe,WAAW,EAAE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@4mbl/lint",
3
- "version": "0.0.0-alpha.dd66007",
3
+ "version": "0.0.0-alpha.e076084",
4
4
  "description": "Linting configuration for various environments.",
5
5
  "type": "module",
6
6
  "author": "4mbl",
@@ -33,12 +33,12 @@
33
33
  "dependencies": {
34
34
  "eslint-plugin-react-compiler": "19.1.0-rc.2",
35
35
  "eslint-plugin-react-hooks": "7.1.1",
36
- "oxlint": "1.62.x",
37
- "oxlint-tsgolint": "0.22.x"
36
+ "oxlint": "1.74.x",
37
+ "oxlint-tsgolint": "0.25.x"
38
38
  },
39
39
  "devDependencies": {
40
- "@types/node": "^24.12.2",
41
- "@4mbl/tsconfig": "0.0.0-alpha.dd66007"
40
+ "@types/node": "^24.13.3",
41
+ "@4mbl/tsconfig": "0.0.0-alpha.e076084"
42
42
  },
43
43
  "scripts": {
44
44
  "build": "tsc"