@4mbl/lint 1.0.0-beta.25 → 1.0.0-beta.27
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 +17 -0
- package/dist/next.d.ts +34 -36
- package/dist/next.d.ts.map +1 -1
- package/dist/react.d.ts +30 -32
- package/dist/react.d.ts.map +1 -1
- package/dist/react.js +16 -18
- package/dist/react.js.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @4mbl/lint
|
|
2
2
|
|
|
3
|
+
## 1.0.0-beta.27
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 10abc93: Upgrade dependencies
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- dcfb4b0: [react] Preserve inherited plugins.
|
|
12
|
+
- f48a223: [react] Scope JSX rules in React preset
|
|
13
|
+
|
|
14
|
+
## 1.0.0-beta.26
|
|
15
|
+
|
|
16
|
+
### Minor Changes
|
|
17
|
+
|
|
18
|
+
- 10abc93: Upgrade dependencies
|
|
19
|
+
|
|
3
20
|
## 1.0.0-beta.25
|
|
4
21
|
|
|
5
22
|
### Minor Changes
|
package/dist/next.d.ts
CHANGED
|
@@ -176,17 +176,31 @@ declare function nextConfig(options?: Partial<NextOptions>): {
|
|
|
176
176
|
'oxc/no-async-await': "off";
|
|
177
177
|
};
|
|
178
178
|
}[];
|
|
179
|
-
plugins: ("import" | "react" | "typescript" | "unicorn")[];
|
|
179
|
+
plugins: ("import" | "jsx-a11y" | "react" | "typescript" | "unicorn")[];
|
|
180
180
|
jsPlugins: {
|
|
181
181
|
name: string;
|
|
182
182
|
specifier: string;
|
|
183
183
|
}[];
|
|
184
|
+
env: {
|
|
185
|
+
browser: true;
|
|
186
|
+
node: true;
|
|
187
|
+
};
|
|
188
|
+
globals: {
|
|
189
|
+
AudioWorkletGlobalScope: "readonly";
|
|
190
|
+
AudioWorkletProcessor: "readonly";
|
|
191
|
+
currentFrame: "readonly";
|
|
192
|
+
currentTime: "readonly";
|
|
193
|
+
registerProcessor: "readonly";
|
|
194
|
+
sampleRate: "readonly";
|
|
195
|
+
WorkletGlobalScope: "readonly";
|
|
196
|
+
};
|
|
184
197
|
rules: {
|
|
185
198
|
'react/rules-of-hooks': "error";
|
|
186
199
|
'react/exhaustive-deps': "warn";
|
|
187
200
|
'react-hooks-js/set-state-in-effect': "warn";
|
|
188
201
|
'react/only-export-components': "error";
|
|
189
202
|
'react-compiler-js/react-compiler': "error";
|
|
203
|
+
'import/no-anonymous-default-export': "warn";
|
|
190
204
|
'react/jsx-filename-extension': "off";
|
|
191
205
|
'react/jsx-max-depth': "off";
|
|
192
206
|
'react/no-multi-comp': "off";
|
|
@@ -216,7 +230,6 @@ declare function nextConfig(options?: Partial<NextOptions>): {
|
|
|
216
230
|
'react/no-unsafe': "off";
|
|
217
231
|
'react/react-in-jsx-scope': "off";
|
|
218
232
|
'react/require-render-return': "error";
|
|
219
|
-
'import/no-anonymous-default-export': "warn";
|
|
220
233
|
'jsx-a11y/alt-text': ["warn", {
|
|
221
234
|
elements: "img"[];
|
|
222
235
|
img: string[];
|
|
@@ -227,23 +240,9 @@ declare function nextConfig(options?: Partial<NextOptions>): {
|
|
|
227
240
|
'jsx-a11y/role-has-required-aria-props': "warn";
|
|
228
241
|
'jsx-a11y/role-supports-aria-props': "warn";
|
|
229
242
|
};
|
|
230
|
-
globals: {
|
|
231
|
-
AudioWorkletGlobalScope: "readonly";
|
|
232
|
-
AudioWorkletProcessor: "readonly";
|
|
233
|
-
currentFrame: "readonly";
|
|
234
|
-
currentTime: "readonly";
|
|
235
|
-
registerProcessor: "readonly";
|
|
236
|
-
sampleRate: "readonly";
|
|
237
|
-
WorkletGlobalScope: "readonly";
|
|
238
|
-
};
|
|
239
|
-
plugins: ("import" | "jsx-a11y")[];
|
|
240
|
-
env: {
|
|
241
|
-
browser: true;
|
|
242
|
-
node: true;
|
|
243
|
-
};
|
|
244
243
|
}[];
|
|
245
244
|
}[];
|
|
246
|
-
plugins: ("import" | "nextjs" | "react" | "typescript" | "unicorn")[];
|
|
245
|
+
plugins: ("import" | "jsx-a11y" | "nextjs" | "react" | "typescript" | "unicorn")[];
|
|
247
246
|
rules: {
|
|
248
247
|
'nextjs/google-font-display': "warn";
|
|
249
248
|
'nextjs/google-font-preconnect': "warn";
|
|
@@ -273,7 +272,7 @@ declare function nextConfig(options?: Partial<NextOptions>): {
|
|
|
273
272
|
overrides: ({
|
|
274
273
|
files: never[];
|
|
275
274
|
rules: {
|
|
276
|
-
'react/only-export-components'?:
|
|
275
|
+
'react/only-export-components'?: never;
|
|
277
276
|
};
|
|
278
277
|
} | {
|
|
279
278
|
files: string[];
|
|
@@ -448,17 +447,31 @@ declare const _default: {
|
|
|
448
447
|
'oxc/no-async-await': "off";
|
|
449
448
|
};
|
|
450
449
|
}[];
|
|
451
|
-
plugins: ("import" | "react" | "typescript" | "unicorn")[];
|
|
450
|
+
plugins: ("import" | "jsx-a11y" | "react" | "typescript" | "unicorn")[];
|
|
452
451
|
jsPlugins: {
|
|
453
452
|
name: string;
|
|
454
453
|
specifier: string;
|
|
455
454
|
}[];
|
|
455
|
+
env: {
|
|
456
|
+
browser: true;
|
|
457
|
+
node: true;
|
|
458
|
+
};
|
|
459
|
+
globals: {
|
|
460
|
+
AudioWorkletGlobalScope: "readonly";
|
|
461
|
+
AudioWorkletProcessor: "readonly";
|
|
462
|
+
currentFrame: "readonly";
|
|
463
|
+
currentTime: "readonly";
|
|
464
|
+
registerProcessor: "readonly";
|
|
465
|
+
sampleRate: "readonly";
|
|
466
|
+
WorkletGlobalScope: "readonly";
|
|
467
|
+
};
|
|
456
468
|
rules: {
|
|
457
469
|
'react/rules-of-hooks': "error";
|
|
458
470
|
'react/exhaustive-deps': "warn";
|
|
459
471
|
'react-hooks-js/set-state-in-effect': "warn";
|
|
460
472
|
'react/only-export-components': "error";
|
|
461
473
|
'react-compiler-js/react-compiler': "error";
|
|
474
|
+
'import/no-anonymous-default-export': "warn";
|
|
462
475
|
'react/jsx-filename-extension': "off";
|
|
463
476
|
'react/jsx-max-depth': "off";
|
|
464
477
|
'react/no-multi-comp': "off";
|
|
@@ -488,7 +501,6 @@ declare const _default: {
|
|
|
488
501
|
'react/no-unsafe': "off";
|
|
489
502
|
'react/react-in-jsx-scope': "off";
|
|
490
503
|
'react/require-render-return': "error";
|
|
491
|
-
'import/no-anonymous-default-export': "warn";
|
|
492
504
|
'jsx-a11y/alt-text': ["warn", {
|
|
493
505
|
elements: "img"[];
|
|
494
506
|
img: string[];
|
|
@@ -499,23 +511,9 @@ declare const _default: {
|
|
|
499
511
|
'jsx-a11y/role-has-required-aria-props': "warn";
|
|
500
512
|
'jsx-a11y/role-supports-aria-props': "warn";
|
|
501
513
|
};
|
|
502
|
-
globals: {
|
|
503
|
-
AudioWorkletGlobalScope: "readonly";
|
|
504
|
-
AudioWorkletProcessor: "readonly";
|
|
505
|
-
currentFrame: "readonly";
|
|
506
|
-
currentTime: "readonly";
|
|
507
|
-
registerProcessor: "readonly";
|
|
508
|
-
sampleRate: "readonly";
|
|
509
|
-
WorkletGlobalScope: "readonly";
|
|
510
|
-
};
|
|
511
|
-
plugins: ("import" | "jsx-a11y")[];
|
|
512
|
-
env: {
|
|
513
|
-
browser: true;
|
|
514
|
-
node: true;
|
|
515
|
-
};
|
|
516
514
|
}[];
|
|
517
515
|
}[];
|
|
518
|
-
plugins: ("import" | "nextjs" | "react" | "typescript" | "unicorn")[];
|
|
516
|
+
plugins: ("import" | "jsx-a11y" | "nextjs" | "react" | "typescript" | "unicorn")[];
|
|
519
517
|
rules: {
|
|
520
518
|
'nextjs/google-font-display': "warn";
|
|
521
519
|
'nextjs/google-font-preconnect': "warn";
|
|
@@ -545,7 +543,7 @@ declare const _default: {
|
|
|
545
543
|
overrides: ({
|
|
546
544
|
files: never[];
|
|
547
545
|
rules: {
|
|
548
|
-
'react/only-export-components'?:
|
|
546
|
+
'react/only-export-components'?: never;
|
|
549
547
|
};
|
|
550
548
|
} | {
|
|
551
549
|
files: string[];
|
package/dist/next.d.ts.map
CHANGED
|
@@ -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
|
|
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/react.d.ts
CHANGED
|
@@ -164,17 +164,31 @@ declare function reactConfig(options?: Partial<ReactOptions>): {
|
|
|
164
164
|
'oxc/no-async-await': "off";
|
|
165
165
|
};
|
|
166
166
|
}[];
|
|
167
|
-
plugins: ("import" | "react" | "typescript" | "unicorn")[];
|
|
167
|
+
plugins: ("import" | "jsx-a11y" | "react" | "typescript" | "unicorn")[];
|
|
168
168
|
jsPlugins: {
|
|
169
169
|
name: string;
|
|
170
170
|
specifier: string;
|
|
171
171
|
}[];
|
|
172
|
+
env: {
|
|
173
|
+
browser: true;
|
|
174
|
+
node: true;
|
|
175
|
+
};
|
|
176
|
+
globals: {
|
|
177
|
+
AudioWorkletGlobalScope: "readonly";
|
|
178
|
+
AudioWorkletProcessor: "readonly";
|
|
179
|
+
currentFrame: "readonly";
|
|
180
|
+
currentTime: "readonly";
|
|
181
|
+
registerProcessor: "readonly";
|
|
182
|
+
sampleRate: "readonly";
|
|
183
|
+
WorkletGlobalScope: "readonly";
|
|
184
|
+
};
|
|
172
185
|
rules: {
|
|
173
186
|
'react/rules-of-hooks': "error";
|
|
174
187
|
'react/exhaustive-deps': "warn";
|
|
175
188
|
'react-hooks-js/set-state-in-effect': "warn";
|
|
176
189
|
'react/only-export-components': "error";
|
|
177
190
|
'react-compiler-js/react-compiler': "error";
|
|
191
|
+
'import/no-anonymous-default-export': "warn";
|
|
178
192
|
'react/jsx-filename-extension': "off";
|
|
179
193
|
'react/jsx-max-depth': "off";
|
|
180
194
|
'react/no-multi-comp': "off";
|
|
@@ -204,7 +218,6 @@ declare function reactConfig(options?: Partial<ReactOptions>): {
|
|
|
204
218
|
'react/no-unsafe': "off";
|
|
205
219
|
'react/react-in-jsx-scope': "off";
|
|
206
220
|
'react/require-render-return': "error";
|
|
207
|
-
'import/no-anonymous-default-export': "warn";
|
|
208
221
|
'jsx-a11y/alt-text': ["warn", {
|
|
209
222
|
elements: "img"[];
|
|
210
223
|
img: string[];
|
|
@@ -215,20 +228,6 @@ declare function reactConfig(options?: Partial<ReactOptions>): {
|
|
|
215
228
|
'jsx-a11y/role-has-required-aria-props': "warn";
|
|
216
229
|
'jsx-a11y/role-supports-aria-props': "warn";
|
|
217
230
|
};
|
|
218
|
-
globals: {
|
|
219
|
-
AudioWorkletGlobalScope: "readonly";
|
|
220
|
-
AudioWorkletProcessor: "readonly";
|
|
221
|
-
currentFrame: "readonly";
|
|
222
|
-
currentTime: "readonly";
|
|
223
|
-
registerProcessor: "readonly";
|
|
224
|
-
sampleRate: "readonly";
|
|
225
|
-
WorkletGlobalScope: "readonly";
|
|
226
|
-
};
|
|
227
|
-
plugins: ("import" | "jsx-a11y")[];
|
|
228
|
-
env: {
|
|
229
|
-
browser: true;
|
|
230
|
-
node: true;
|
|
231
|
-
};
|
|
232
231
|
}[];
|
|
233
232
|
};
|
|
234
233
|
export { type OxlintConfig, defineConfig, reactConfig };
|
|
@@ -396,17 +395,31 @@ declare const _default: {
|
|
|
396
395
|
'oxc/no-async-await': "off";
|
|
397
396
|
};
|
|
398
397
|
}[];
|
|
399
|
-
plugins: ("import" | "react" | "typescript" | "unicorn")[];
|
|
398
|
+
plugins: ("import" | "jsx-a11y" | "react" | "typescript" | "unicorn")[];
|
|
400
399
|
jsPlugins: {
|
|
401
400
|
name: string;
|
|
402
401
|
specifier: string;
|
|
403
402
|
}[];
|
|
403
|
+
env: {
|
|
404
|
+
browser: true;
|
|
405
|
+
node: true;
|
|
406
|
+
};
|
|
407
|
+
globals: {
|
|
408
|
+
AudioWorkletGlobalScope: "readonly";
|
|
409
|
+
AudioWorkletProcessor: "readonly";
|
|
410
|
+
currentFrame: "readonly";
|
|
411
|
+
currentTime: "readonly";
|
|
412
|
+
registerProcessor: "readonly";
|
|
413
|
+
sampleRate: "readonly";
|
|
414
|
+
WorkletGlobalScope: "readonly";
|
|
415
|
+
};
|
|
404
416
|
rules: {
|
|
405
417
|
'react/rules-of-hooks': "error";
|
|
406
418
|
'react/exhaustive-deps': "warn";
|
|
407
419
|
'react-hooks-js/set-state-in-effect': "warn";
|
|
408
420
|
'react/only-export-components': "error";
|
|
409
421
|
'react-compiler-js/react-compiler': "error";
|
|
422
|
+
'import/no-anonymous-default-export': "warn";
|
|
410
423
|
'react/jsx-filename-extension': "off";
|
|
411
424
|
'react/jsx-max-depth': "off";
|
|
412
425
|
'react/no-multi-comp': "off";
|
|
@@ -436,7 +449,6 @@ declare const _default: {
|
|
|
436
449
|
'react/no-unsafe': "off";
|
|
437
450
|
'react/react-in-jsx-scope': "off";
|
|
438
451
|
'react/require-render-return': "error";
|
|
439
|
-
'import/no-anonymous-default-export': "warn";
|
|
440
452
|
'jsx-a11y/alt-text': ["warn", {
|
|
441
453
|
elements: "img"[];
|
|
442
454
|
img: string[];
|
|
@@ -447,20 +459,6 @@ declare const _default: {
|
|
|
447
459
|
'jsx-a11y/role-has-required-aria-props': "warn";
|
|
448
460
|
'jsx-a11y/role-supports-aria-props': "warn";
|
|
449
461
|
};
|
|
450
|
-
globals: {
|
|
451
|
-
AudioWorkletGlobalScope: "readonly";
|
|
452
|
-
AudioWorkletProcessor: "readonly";
|
|
453
|
-
currentFrame: "readonly";
|
|
454
|
-
currentTime: "readonly";
|
|
455
|
-
registerProcessor: "readonly";
|
|
456
|
-
sampleRate: "readonly";
|
|
457
|
-
WorkletGlobalScope: "readonly";
|
|
458
|
-
};
|
|
459
|
-
plugins: ("import" | "jsx-a11y")[];
|
|
460
|
-
env: {
|
|
461
|
-
browser: true;
|
|
462
|
-
node: true;
|
|
463
|
-
};
|
|
464
462
|
}[];
|
|
465
463
|
};
|
|
466
464
|
export default _default;
|
package/dist/react.d.ts.map
CHANGED
|
@@ -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,OAAO,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC
|
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiFnD;AAED,OAAO,EAAE,KAAK,YAAY,EAAE,YAAY,EAAE,WAAW,EAAE,CAAC"}
|
package/dist/react.js
CHANGED
|
@@ -6,7 +6,7 @@ function reactConfig(options) {
|
|
|
6
6
|
const base = baseConfig(options);
|
|
7
7
|
return defineConfig({
|
|
8
8
|
extends: [base],
|
|
9
|
-
plugins: [...base.plugins, 'react'],
|
|
9
|
+
plugins: [...base.plugins, 'react', 'jsx-a11y'],
|
|
10
10
|
jsPlugins: [
|
|
11
11
|
// react compiler is not yet supported by oxc
|
|
12
12
|
// https://github.com/oxc-project/oxc/issues/10048
|
|
@@ -17,12 +17,26 @@ function reactConfig(options) {
|
|
|
17
17
|
{ name: 'react-hooks-js', specifier: 'eslint-plugin-react-hooks' },
|
|
18
18
|
{ name: 'react-compiler-js', specifier: 'eslint-plugin-react-compiler' },
|
|
19
19
|
],
|
|
20
|
+
env: {
|
|
21
|
+
browser: true,
|
|
22
|
+
node: true,
|
|
23
|
+
},
|
|
24
|
+
globals: {
|
|
25
|
+
AudioWorkletGlobalScope: 'readonly',
|
|
26
|
+
AudioWorkletProcessor: 'readonly',
|
|
27
|
+
currentFrame: 'readonly',
|
|
28
|
+
currentTime: 'readonly',
|
|
29
|
+
registerProcessor: 'readonly',
|
|
30
|
+
sampleRate: 'readonly',
|
|
31
|
+
WorkletGlobalScope: 'readonly',
|
|
32
|
+
},
|
|
20
33
|
rules: {
|
|
21
34
|
'react/rules-of-hooks': 'error',
|
|
22
35
|
'react/exhaustive-deps': 'warn',
|
|
23
36
|
'react-hooks-js/set-state-in-effect': 'warn',
|
|
24
37
|
'react/only-export-components': 'error',
|
|
25
38
|
'react-compiler-js/react-compiler': 'error',
|
|
39
|
+
'import/no-anonymous-default-export': 'warn',
|
|
26
40
|
'react/jsx-filename-extension': 'off',
|
|
27
41
|
'react/jsx-max-depth': 'off',
|
|
28
42
|
'react/no-multi-comp': 'off',
|
|
@@ -34,7 +48,7 @@ function reactConfig(options) {
|
|
|
34
48
|
},
|
|
35
49
|
overrides: [
|
|
36
50
|
{
|
|
37
|
-
files: ['**/*.{
|
|
51
|
+
files: ['**/*.{jsx,tsx}'],
|
|
38
52
|
rules: {
|
|
39
53
|
'react/display-name': 'error',
|
|
40
54
|
'react/jsx-key': 'error',
|
|
@@ -44,7 +58,6 @@ function reactConfig(options) {
|
|
|
44
58
|
'react/jsx-no-undef': 'error',
|
|
45
59
|
'react/no-children-prop': 'error',
|
|
46
60
|
'react/no-danger-with-children': 'error',
|
|
47
|
-
// "react/no-deprecated": "error", // not implemented yet in oxlint
|
|
48
61
|
'react/no-direct-mutation-state': 'error',
|
|
49
62
|
'react/no-find-dom-node': 'error',
|
|
50
63
|
'react/no-is-mounted': 'error',
|
|
@@ -55,7 +68,6 @@ function reactConfig(options) {
|
|
|
55
68
|
'react/no-unsafe': 'off',
|
|
56
69
|
'react/react-in-jsx-scope': 'off',
|
|
57
70
|
'react/require-render-return': 'error',
|
|
58
|
-
'import/no-anonymous-default-export': 'warn',
|
|
59
71
|
'jsx-a11y/alt-text': ['warn', { elements: ['img'], img: ['Image'] }],
|
|
60
72
|
'jsx-a11y/aria-props': 'warn',
|
|
61
73
|
'jsx-a11y/aria-proptypes': 'warn',
|
|
@@ -63,20 +75,6 @@ function reactConfig(options) {
|
|
|
63
75
|
'jsx-a11y/role-has-required-aria-props': 'warn',
|
|
64
76
|
'jsx-a11y/role-supports-aria-props': 'warn',
|
|
65
77
|
},
|
|
66
|
-
globals: {
|
|
67
|
-
AudioWorkletGlobalScope: 'readonly',
|
|
68
|
-
AudioWorkletProcessor: 'readonly',
|
|
69
|
-
currentFrame: 'readonly',
|
|
70
|
-
currentTime: 'readonly',
|
|
71
|
-
registerProcessor: 'readonly',
|
|
72
|
-
sampleRate: 'readonly',
|
|
73
|
-
WorkletGlobalScope: 'readonly',
|
|
74
|
-
},
|
|
75
|
-
plugins: ['import', 'jsx-a11y'],
|
|
76
|
-
env: {
|
|
77
|
-
browser: true,
|
|
78
|
-
node: true,
|
|
79
|
-
},
|
|
80
78
|
},
|
|
81
79
|
],
|
|
82
80
|
});
|
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,OAA+B;IAClD,mDAAmD;IAEnD,MAAM,IAAI,GAAG,UAAU,CAAC,OAAO,CAAC,CAAC;IAEjC,OAAO,YAAY,CAAC;QAClB,OAAO,EAAE,CAAC,IAAI,CAAC;QACf,OAAO,EAAE,CAAC,GAAG,IAAI,CAAC,OAAO,EAAE,OAAO,CAAC;
|
|
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,OAA+B;IAClD,mDAAmD;IAEnD,MAAM,IAAI,GAAG,UAAU,CAAC,OAAO,CAAC,CAAC;IAEjC,OAAO,YAAY,CAAC;QAClB,OAAO,EAAE,CAAC,IAAI,CAAC;QACf,OAAO,EAAE,CAAC,GAAG,IAAI,CAAC,OAAO,EAAE,OAAO,EAAE,UAAU,CAAC;QAC/C,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,GAAG,EAAE;YACH,OAAO,EAAE,IAAI;YACb,IAAI,EAAE,IAAI;SACX;QACD,OAAO,EAAE;YACP,uBAAuB,EAAE,UAAU;YACnC,qBAAqB,EAAE,UAAU;YACjC,YAAY,EAAE,UAAU;YACxB,WAAW,EAAE,UAAU;YACvB,iBAAiB,EAAE,UAAU;YAC7B,UAAU,EAAE,UAAU;YACtB,kBAAkB,EAAE,UAAU;SAC/B;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;YAC3C,oCAAoC,EAAE,MAAM;YAE5C,8BAA8B,EAAE,KAAK;YACrC,qBAAqB,EAAE,KAAK;YAC5B,qBAAqB,EAAE,KAAK;YAC5B,8BAA8B,EAAE,KAAK;YACrC,uBAAuB,EAAE,KAAK;YAE9B,0BAA0B;YAC1B,8BAA8B,EAAE,KAAK;YACrC,wBAAwB,EAAE,KAAK;SAChC;QACD,SAAS,EAAE;YACT;gBACE,KAAK,EAAE,CAAC,gBAAgB,CAAC;gBACzB,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,gCAAgC,EAAE,OAAO;oBACzC,wBAAwB,EAAE,OAAO;oBACjC,qBAAqB,EAAE,OAAO;oBAC9B,8BAA8B,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,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": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.27",
|
|
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.
|
|
36
|
+
"oxlint": "1.79.x",
|
|
37
37
|
"oxlint-tsgolint": "7.0.x"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@types/node": "^24.13.3",
|
|
41
|
-
"@4mbl/tsconfig": "5.0.0-beta.
|
|
41
|
+
"@4mbl/tsconfig": "5.0.0-beta.2"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
44
|
"build": "tsc"
|