@4mbl/lint 0.0.0-alpha.f2a34bd → 0.0.0-alpha.f68a367

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/dist/react.d.ts CHANGED
@@ -1,377 +1,7 @@
1
1
  import { defineConfig, type OxlintConfig } from 'oxlint';
2
2
  export type ReactOptions = {};
3
- declare function reactConfig(_options?: Partial<ReactOptions>): {
4
- extends: {
5
- plugins: ("unicorn" | "typescript")[];
6
- jsPlugins: never[];
7
- categories: {
8
- correctness: "error";
9
- suspicious: "warn";
10
- pedantic: "off";
11
- perf: "warn";
12
- style: "warn";
13
- restriction: "warn";
14
- nursery: "off";
15
- };
16
- env: {
17
- builtin: true;
18
- };
19
- options: {
20
- typeAware: true;
21
- };
22
- rules: {
23
- 'constructor-super': "error";
24
- 'for-direction': "error";
25
- 'getter-return': "error";
26
- 'no-async-promise-executor': "error";
27
- 'no-case-declarations': "error";
28
- 'no-class-assign': "error";
29
- 'no-compare-neg-zero': "error";
30
- 'no-cond-assign': "error";
31
- 'no-const-assign': "error";
32
- 'no-constant-binary-expression': "error";
33
- 'no-constant-condition': "error";
34
- 'no-control-regex': "error";
35
- 'no-debugger': "error";
36
- 'no-delete-var': "error";
37
- 'no-dupe-class-members': "error";
38
- 'no-dupe-else-if': "error";
39
- 'no-dupe-keys': "error";
40
- 'no-duplicate-case': "error";
41
- 'no-empty': "error";
42
- 'no-empty-character-class': "error";
43
- 'no-empty-pattern': "error";
44
- 'no-empty-static-block': "error";
45
- 'no-ex-assign': "error";
46
- 'no-extra-boolean-cast': "error";
47
- 'no-fallthrough': "error";
48
- 'no-func-assign': "error";
49
- 'no-global-assign': "error";
50
- 'no-import-assign': "error";
51
- 'no-invalid-regexp': "error";
52
- 'no-irregular-whitespace': "error";
53
- 'no-loss-of-precision': "error";
54
- 'no-misleading-character-class': "error";
55
- 'no-new-native-nonconstructor': "error";
56
- 'no-nonoctal-decimal-escape': "error";
57
- 'no-obj-calls': "error";
58
- 'no-prototype-builtins': "error";
59
- 'no-redeclare': "error";
60
- 'no-regex-spaces': "error";
61
- 'no-self-assign': "error";
62
- 'no-setter-return': "error";
63
- 'no-shadow-restricted-names': "error";
64
- 'no-sparse-arrays': "error";
65
- 'no-this-before-super': "error";
66
- 'no-undef': "error";
67
- 'no-unexpected-multiline': "error";
68
- 'no-unreachable': "error";
69
- 'no-unsafe-finally': "error";
70
- 'no-unsafe-negation': "error";
71
- 'no-unsafe-optional-chaining': "error";
72
- 'no-unused-labels': "error";
73
- 'no-unused-private-class-members': "error";
74
- 'no-unused-vars': "warn";
75
- 'no-useless-backreference': "error";
76
- 'no-useless-catch': "error";
77
- 'no-useless-escape': "error";
78
- 'no-with': "error";
79
- 'require-yield': "error";
80
- 'use-isnan': "error";
81
- 'valid-typeof': "error";
82
- '@typescript-eslint/ban-ts-comment': "error";
83
- 'no-array-constructor': "error";
84
- '@typescript-eslint/no-duplicate-enum-values': "error";
85
- '@typescript-eslint/no-empty-object-type': "error";
86
- '@typescript-eslint/no-explicit-any': "error";
87
- '@typescript-eslint/no-extra-non-null-assertion': "error";
88
- '@typescript-eslint/no-misused-new': "error";
89
- '@typescript-eslint/no-namespace': "error";
90
- '@typescript-eslint/no-non-null-asserted-optional-chain': "error";
91
- '@typescript-eslint/no-require-imports': "error";
92
- '@typescript-eslint/no-this-alias': "error";
93
- '@typescript-eslint/no-unnecessary-type-constraint': "error";
94
- '@typescript-eslint/no-unsafe-declaration-merging': "error";
95
- '@typescript-eslint/no-unsafe-function-type': "error";
96
- 'no-unused-expressions': "warn";
97
- '@typescript-eslint/no-wrapper-object-types': "error";
98
- '@typescript-eslint/prefer-as-const': "error";
99
- '@typescript-eslint/prefer-namespace-keyword': "error";
100
- '@typescript-eslint/triple-slash-reference': "error";
101
- };
102
- overrides: {
103
- files: string[];
104
- rules: {
105
- 'constructor-super': "off";
106
- 'getter-return': "off";
107
- 'no-class-assign': "off";
108
- 'no-const-assign': "off";
109
- 'no-dupe-class-members': "off";
110
- 'no-dupe-keys': "off";
111
- 'no-func-assign': "off";
112
- 'no-import-assign': "off";
113
- 'no-new-native-nonconstructor': "off";
114
- 'no-obj-calls': "off";
115
- 'no-redeclare': "off";
116
- 'no-setter-return': "off";
117
- 'no-this-before-super': "off";
118
- 'no-undef': "off";
119
- 'no-unreachable': "off";
120
- 'no-unsafe-negation': "off";
121
- 'no-var': "error";
122
- 'no-with': "off";
123
- 'prefer-const': "error";
124
- 'prefer-rest-params': "error";
125
- 'prefer-spread': "error";
126
- };
127
- }[];
128
- }[];
129
- plugins: "react"[];
130
- jsPlugins: {
131
- name: string;
132
- specifier: string;
133
- }[];
134
- rules: {
135
- 'react-hooks-js/rules-of-hooks': "error";
136
- 'react-hooks-js/exhaustive-deps': "warn";
137
- 'react-hooks-js/set-state-in-effect': "warn";
138
- 'react-refresh-js/only-export-components': "error";
139
- 'react-compiler-js/react-compiler': "error";
140
- };
141
- overrides: {
142
- files: string[];
143
- rules: {
144
- 'react/display-name': "error";
145
- 'react/jsx-key': "error";
146
- 'react/jsx-no-comment-textnodes': "error";
147
- 'react/jsx-no-duplicate-props': "error";
148
- 'react/jsx-no-target-blank': "off";
149
- 'react/jsx-no-undef': "error";
150
- 'react/no-children-prop': "error";
151
- 'react/no-danger-with-children': "error";
152
- 'react/no-direct-mutation-state': "error";
153
- 'react/no-find-dom-node': "error";
154
- 'react/no-is-mounted': "error";
155
- 'react/no-render-return-value': "error";
156
- 'react/no-string-refs': "error";
157
- 'react/no-unescaped-entities': "error";
158
- 'react/no-unknown-property': "off";
159
- 'react/no-unsafe': "off";
160
- 'react/react-in-jsx-scope': "off";
161
- 'react/require-render-return': "error";
162
- 'import/no-anonymous-default-export': "warn";
163
- 'jsx-a11y/alt-text': ["warn", {
164
- elements: string[];
165
- img: string[];
166
- }];
167
- 'jsx-a11y/aria-props': "warn";
168
- 'jsx-a11y/aria-proptypes': "warn";
169
- 'jsx-a11y/aria-unsupported-elements': "warn";
170
- 'jsx-a11y/role-has-required-aria-props': "warn";
171
- 'jsx-a11y/role-supports-aria-props': "warn";
172
- };
173
- globals: {
174
- AudioWorkletGlobalScope: "readonly";
175
- AudioWorkletProcessor: "readonly";
176
- currentFrame: "readonly";
177
- currentTime: "readonly";
178
- registerProcessor: "readonly";
179
- sampleRate: "readonly";
180
- WorkletGlobalScope: "readonly";
181
- };
182
- plugins: ("import" | "jsx-a11y")[];
183
- env: {
184
- browser: true;
185
- node: true;
186
- };
187
- }[];
188
- };
3
+ declare function reactConfig(options?: Partial<ReactOptions>): OxlintConfig;
189
4
  export { type OxlintConfig, defineConfig, reactConfig };
190
- declare const _default: {
191
- extends: {
192
- plugins: ("unicorn" | "typescript")[];
193
- jsPlugins: never[];
194
- categories: {
195
- correctness: "error";
196
- suspicious: "warn";
197
- pedantic: "off";
198
- perf: "warn";
199
- style: "warn";
200
- restriction: "warn";
201
- nursery: "off";
202
- };
203
- env: {
204
- builtin: true;
205
- };
206
- options: {
207
- typeAware: true;
208
- };
209
- rules: {
210
- 'constructor-super': "error";
211
- 'for-direction': "error";
212
- 'getter-return': "error";
213
- 'no-async-promise-executor': "error";
214
- 'no-case-declarations': "error";
215
- 'no-class-assign': "error";
216
- 'no-compare-neg-zero': "error";
217
- 'no-cond-assign': "error";
218
- 'no-const-assign': "error";
219
- 'no-constant-binary-expression': "error";
220
- 'no-constant-condition': "error";
221
- 'no-control-regex': "error";
222
- 'no-debugger': "error";
223
- 'no-delete-var': "error";
224
- 'no-dupe-class-members': "error";
225
- 'no-dupe-else-if': "error";
226
- 'no-dupe-keys': "error";
227
- 'no-duplicate-case': "error";
228
- 'no-empty': "error";
229
- 'no-empty-character-class': "error";
230
- 'no-empty-pattern': "error";
231
- 'no-empty-static-block': "error";
232
- 'no-ex-assign': "error";
233
- 'no-extra-boolean-cast': "error";
234
- 'no-fallthrough': "error";
235
- 'no-func-assign': "error";
236
- 'no-global-assign': "error";
237
- 'no-import-assign': "error";
238
- 'no-invalid-regexp': "error";
239
- 'no-irregular-whitespace': "error";
240
- 'no-loss-of-precision': "error";
241
- 'no-misleading-character-class': "error";
242
- 'no-new-native-nonconstructor': "error";
243
- 'no-nonoctal-decimal-escape': "error";
244
- 'no-obj-calls': "error";
245
- 'no-prototype-builtins': "error";
246
- 'no-redeclare': "error";
247
- 'no-regex-spaces': "error";
248
- 'no-self-assign': "error";
249
- 'no-setter-return': "error";
250
- 'no-shadow-restricted-names': "error";
251
- 'no-sparse-arrays': "error";
252
- 'no-this-before-super': "error";
253
- 'no-undef': "error";
254
- 'no-unexpected-multiline': "error";
255
- 'no-unreachable': "error";
256
- 'no-unsafe-finally': "error";
257
- 'no-unsafe-negation': "error";
258
- 'no-unsafe-optional-chaining': "error";
259
- 'no-unused-labels': "error";
260
- 'no-unused-private-class-members': "error";
261
- 'no-unused-vars': "warn";
262
- 'no-useless-backreference': "error";
263
- 'no-useless-catch': "error";
264
- 'no-useless-escape': "error";
265
- 'no-with': "error";
266
- 'require-yield': "error";
267
- 'use-isnan': "error";
268
- 'valid-typeof': "error";
269
- '@typescript-eslint/ban-ts-comment': "error";
270
- 'no-array-constructor': "error";
271
- '@typescript-eslint/no-duplicate-enum-values': "error";
272
- '@typescript-eslint/no-empty-object-type': "error";
273
- '@typescript-eslint/no-explicit-any': "error";
274
- '@typescript-eslint/no-extra-non-null-assertion': "error";
275
- '@typescript-eslint/no-misused-new': "error";
276
- '@typescript-eslint/no-namespace': "error";
277
- '@typescript-eslint/no-non-null-asserted-optional-chain': "error";
278
- '@typescript-eslint/no-require-imports': "error";
279
- '@typescript-eslint/no-this-alias': "error";
280
- '@typescript-eslint/no-unnecessary-type-constraint': "error";
281
- '@typescript-eslint/no-unsafe-declaration-merging': "error";
282
- '@typescript-eslint/no-unsafe-function-type': "error";
283
- 'no-unused-expressions': "warn";
284
- '@typescript-eslint/no-wrapper-object-types': "error";
285
- '@typescript-eslint/prefer-as-const': "error";
286
- '@typescript-eslint/prefer-namespace-keyword': "error";
287
- '@typescript-eslint/triple-slash-reference': "error";
288
- };
289
- overrides: {
290
- files: string[];
291
- rules: {
292
- 'constructor-super': "off";
293
- 'getter-return': "off";
294
- 'no-class-assign': "off";
295
- 'no-const-assign': "off";
296
- 'no-dupe-class-members': "off";
297
- 'no-dupe-keys': "off";
298
- 'no-func-assign': "off";
299
- 'no-import-assign': "off";
300
- 'no-new-native-nonconstructor': "off";
301
- 'no-obj-calls': "off";
302
- 'no-redeclare': "off";
303
- 'no-setter-return': "off";
304
- 'no-this-before-super': "off";
305
- 'no-undef': "off";
306
- 'no-unreachable': "off";
307
- 'no-unsafe-negation': "off";
308
- 'no-var': "error";
309
- 'no-with': "off";
310
- 'prefer-const': "error";
311
- 'prefer-rest-params': "error";
312
- 'prefer-spread': "error";
313
- };
314
- }[];
315
- }[];
316
- plugins: "react"[];
317
- jsPlugins: {
318
- name: string;
319
- specifier: string;
320
- }[];
321
- rules: {
322
- 'react-hooks-js/rules-of-hooks': "error";
323
- 'react-hooks-js/exhaustive-deps': "warn";
324
- 'react-hooks-js/set-state-in-effect': "warn";
325
- 'react-refresh-js/only-export-components': "error";
326
- 'react-compiler-js/react-compiler': "error";
327
- };
328
- overrides: {
329
- files: string[];
330
- rules: {
331
- 'react/display-name': "error";
332
- 'react/jsx-key': "error";
333
- 'react/jsx-no-comment-textnodes': "error";
334
- 'react/jsx-no-duplicate-props': "error";
335
- 'react/jsx-no-target-blank': "off";
336
- 'react/jsx-no-undef': "error";
337
- 'react/no-children-prop': "error";
338
- 'react/no-danger-with-children': "error";
339
- 'react/no-direct-mutation-state': "error";
340
- 'react/no-find-dom-node': "error";
341
- 'react/no-is-mounted': "error";
342
- 'react/no-render-return-value': "error";
343
- 'react/no-string-refs': "error";
344
- 'react/no-unescaped-entities': "error";
345
- 'react/no-unknown-property': "off";
346
- 'react/no-unsafe': "off";
347
- 'react/react-in-jsx-scope': "off";
348
- 'react/require-render-return': "error";
349
- 'import/no-anonymous-default-export': "warn";
350
- 'jsx-a11y/alt-text': ["warn", {
351
- elements: string[];
352
- img: string[];
353
- }];
354
- 'jsx-a11y/aria-props': "warn";
355
- 'jsx-a11y/aria-proptypes': "warn";
356
- 'jsx-a11y/aria-unsupported-elements': "warn";
357
- 'jsx-a11y/role-has-required-aria-props': "warn";
358
- 'jsx-a11y/role-supports-aria-props': "warn";
359
- };
360
- globals: {
361
- AudioWorkletGlobalScope: "readonly";
362
- AudioWorkletProcessor: "readonly";
363
- currentFrame: "readonly";
364
- currentTime: "readonly";
365
- registerProcessor: "readonly";
366
- sampleRate: "readonly";
367
- WorkletGlobalScope: "readonly";
368
- };
369
- plugins: ("import" | "jsx-a11y")[];
370
- env: {
371
- browser: true;
372
- node: true;
373
- };
374
- }[];
375
- };
5
+ declare const _default: OxlintConfig;
376
6
  export default _default;
377
7
  //# sourceMappingURL=react.d.ts.map
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkEpD;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;AAIzD,MAAM,MAAM,YAAY,GAAG,EAAE,CAAC;AAI9B,iBAAS,WAAW,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC,gBA6FnD;AAED,OAAO,EAAE,KAAK,YAAY,EAAE,YAAY,EAAE,WAAW,EAAE,CAAC"}
package/dist/react.js CHANGED
@@ -1,26 +1,66 @@
1
1
  import { defineConfig } from 'oxlint';
2
2
  import { baseConfig } from './base.js';
3
+ import { extendConfig } from './config.js';
3
4
  // const DEFAULT_OPTIONS: ReactOptions = {};
4
- function reactConfig(_options) {
5
+ function reactConfig(options) {
5
6
  // const opts = { ...DEFAULT_OPTIONS, ...options };
6
- return defineConfig({
7
- extends: [baseConfig()],
8
- plugins: ['react'],
9
- jsPlugins: [
10
- { name: 'react-hooks-js', specifier: 'eslint-plugin-react-hooks' },
11
- { name: 'react-refresh-js', specifier: 'eslint-plugin-react-refresh' },
12
- { name: 'react-compiler-js', specifier: 'eslint-plugin-react-compiler' },
13
- ],
7
+ const base = baseConfig(options);
8
+ return extendConfig(base, {
9
+ plugins: ['react', 'jsx-a11y'],
10
+ jsPlugins: [],
11
+ env: {
12
+ browser: true,
13
+ node: true,
14
+ },
15
+ globals: {
16
+ AudioWorkletGlobalScope: 'readonly',
17
+ AudioWorkletProcessor: 'readonly',
18
+ currentFrame: 'readonly',
19
+ currentTime: 'readonly',
20
+ registerProcessor: 'readonly',
21
+ sampleRate: 'readonly',
22
+ WorkletGlobalScope: 'readonly',
23
+ },
14
24
  rules: {
15
- 'react-hooks-js/rules-of-hooks': 'error',
16
- 'react-hooks-js/exhaustive-deps': 'warn',
17
- 'react-hooks-js/set-state-in-effect': 'warn',
18
- 'react-refresh-js/only-export-components': 'error',
19
- 'react-compiler-js/react-compiler': 'error',
25
+ 'react/rules-of-hooks': 'error',
26
+ 'react/exhaustive-deps': 'warn',
27
+ // react compiler rules
28
+ 'react/error-boundaries': 'error',
29
+ 'react/globals': 'error',
30
+ 'react/immutability': 'error',
31
+ 'react/incompatible-library': 'error',
32
+ 'react/preserve-manual-memoization': 'error',
33
+ 'react/purity': 'error',
34
+ 'react/refs': 'error',
35
+ 'react/set-state-in-effect': 'error',
36
+ 'react/set-state-in-render': 'error',
37
+ 'react/static-components': 'error',
38
+ 'react/use-memo': 'error',
39
+ 'react/void-use-memo': 'error',
40
+ 'react/capitalized-calls': 'error',
41
+ 'react/exhaustive-effect-dependencies': 'error',
42
+ 'react/hooks': 'error',
43
+ 'react/memo-dependencies': 'error',
44
+ 'react/no-deriving-state-in-effects': 'error',
45
+ 'react/invariant': 'error',
46
+ 'react/rule-suppression': 'error',
47
+ 'react/syntax': 'error',
48
+ 'react/todo': 'error',
49
+ 'react/unsupported-syntax': 'error',
50
+ 'react/only-export-components': 'error',
51
+ 'import/no-anonymous-default-export': 'warn',
52
+ 'react/jsx-filename-extension': 'off',
53
+ 'react/jsx-max-depth': 'off',
54
+ 'react/no-multi-comp': 'off',
55
+ 'react/jsx-props-no-spreading': 'off',
56
+ 'react/jsx-no-literals': 'off',
57
+ // conflicts with tailwind
58
+ 'react/forbid-component-props': 'off',
59
+ 'react/forbid-dom-props': 'off',
20
60
  },
21
61
  overrides: [
22
62
  {
23
- files: ['**/*.{js,jsx,mjs,ts,tsx,mts,cts}'],
63
+ files: ['**/*.{jsx,tsx}'],
24
64
  rules: {
25
65
  'react/display-name': 'error',
26
66
  'react/jsx-key': 'error',
@@ -30,7 +70,6 @@ function reactConfig(_options) {
30
70
  'react/jsx-no-undef': 'error',
31
71
  'react/no-children-prop': 'error',
32
72
  'react/no-danger-with-children': 'error',
33
- // "react/no-deprecated": "error", // not implemented yet in oxlint
34
73
  'react/no-direct-mutation-state': 'error',
35
74
  'react/no-find-dom-node': 'error',
36
75
  'react/no-is-mounted': 'error',
@@ -41,7 +80,6 @@ function reactConfig(_options) {
41
80
  'react/no-unsafe': 'off',
42
81
  'react/react-in-jsx-scope': 'off',
43
82
  'react/require-render-return': 'error',
44
- 'import/no-anonymous-default-export': 'warn',
45
83
  'jsx-a11y/alt-text': ['warn', { elements: ['img'], img: ['Image'] }],
46
84
  'jsx-a11y/aria-props': 'warn',
47
85
  'jsx-a11y/aria-proptypes': 'warn',
@@ -49,20 +87,6 @@ function reactConfig(_options) {
49
87
  'jsx-a11y/role-has-required-aria-props': 'warn',
50
88
  'jsx-a11y/role-supports-aria-props': 'warn',
51
89
  },
52
- globals: {
53
- AudioWorkletGlobalScope: 'readonly',
54
- AudioWorkletProcessor: 'readonly',
55
- currentFrame: 'readonly',
56
- currentTime: 'readonly',
57
- registerProcessor: 'readonly',
58
- sampleRate: 'readonly',
59
- WorkletGlobalScope: 'readonly',
60
- },
61
- plugins: ['import', 'jsx-a11y'],
62
- env: {
63
- browser: true,
64
- node: true,
65
- },
66
90
  },
67
91
  ],
68
92
  });
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,EAAE,IAAI,EAAE,gBAAgB,EAAE,SAAS,EAAE,2BAA2B,EAAE;YAClE,EAAE,IAAI,EAAE,kBAAkB,EAAE,SAAS,EAAE,6BAA6B,EAAE;YACtE,EAAE,IAAI,EAAE,mBAAmB,EAAE,S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K;oBACxB,0BAA0B,EAAE,KAAK;oBACjC,6BAA6B,EAAE,OAAO;oBACtC,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;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.f2a34bd",
3
+ "version": "0.0.0-alpha.f68a367",
4
4
  "description": "Linting configuration for various environments.",
5
5
  "type": "module",
6
6
  "author": "4mbl",
@@ -31,17 +31,12 @@
31
31
  "lint"
32
32
  ],
33
33
  "dependencies": {
34
- "eslint-plugin-react-compiler": "19.1.0-rc.2",
35
- "eslint-plugin-react-hooks": "^7.1.1",
36
- "eslint-plugin-react-refresh": "^0.5.2",
37
- "globals": "^17.5.0",
38
- "jiti": "^2.6.1",
39
- "oxlint": "^1.60.0",
40
- "oxlint-tsgolint": "^0.21.1"
34
+ "oxlint": "1.85.x",
35
+ "oxlint-tsgolint": "7.0.x"
41
36
  },
42
37
  "devDependencies": {
43
- "@types/node": "^24.12.2",
44
- "@4mbl/tsconfig": "0.0.0-alpha.f2a34bd"
38
+ "@types/node": "^24.13.6",
39
+ "@4mbl/tsconfig": "0.0.0-alpha.f68a367"
45
40
  },
46
41
  "scripts": {
47
42
  "build": "tsc"