@4mbl/lint 0.0.0-alpha.0422e86

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.
@@ -0,0 +1,377 @@
1
+ import { defineConfig, type OxlintConfig } from 'oxlint';
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
+ };
189
+ 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
+ };
376
+ export default _default;
377
+ //# sourceMappingURL=react.d.ts.map
@@ -0,0 +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"}
package/dist/react.js ADDED
@@ -0,0 +1,72 @@
1
+ import { defineConfig } from 'oxlint';
2
+ import { baseConfig } from './base.js';
3
+ // const DEFAULT_OPTIONS: ReactOptions = {};
4
+ function reactConfig(_options) {
5
+ // 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
+ ],
14
+ 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',
20
+ },
21
+ overrides: [
22
+ {
23
+ files: ['**/*.{js,jsx,mjs,ts,tsx,mts,cts}'],
24
+ rules: {
25
+ 'react/display-name': 'error',
26
+ 'react/jsx-key': 'error',
27
+ 'react/jsx-no-comment-textnodes': 'error',
28
+ 'react/jsx-no-duplicate-props': 'error',
29
+ 'react/jsx-no-target-blank': 'off',
30
+ 'react/jsx-no-undef': 'error',
31
+ 'react/no-children-prop': 'error',
32
+ 'react/no-danger-with-children': 'error',
33
+ // "react/no-deprecated": "error", // not implemented yet in oxlint
34
+ 'react/no-direct-mutation-state': 'error',
35
+ 'react/no-find-dom-node': 'error',
36
+ 'react/no-is-mounted': 'error',
37
+ 'react/no-render-return-value': 'error',
38
+ 'react/no-string-refs': 'error',
39
+ 'react/no-unescaped-entities': 'error',
40
+ 'react/no-unknown-property': 'off',
41
+ 'react/no-unsafe': 'off',
42
+ 'react/react-in-jsx-scope': 'off',
43
+ 'react/require-render-return': 'error',
44
+ 'import/no-anonymous-default-export': 'warn',
45
+ 'jsx-a11y/alt-text': ['warn', { elements: ['img'], img: ['Image'] }],
46
+ 'jsx-a11y/aria-props': 'warn',
47
+ 'jsx-a11y/aria-proptypes': 'warn',
48
+ 'jsx-a11y/aria-unsupported-elements': 'warn',
49
+ 'jsx-a11y/role-has-required-aria-props': 'warn',
50
+ 'jsx-a11y/role-supports-aria-props': 'warn',
51
+ },
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
+ },
67
+ ],
68
+ });
69
+ }
70
+ export { defineConfig, reactConfig };
71
+ export default reactConfig();
72
+ //# sourceMappingURL=react.js.map
@@ -0,0 +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,SAAS,EAAE,8BAA8B,EAAE;SACzE;QACD,KAAK,EAAE;YACL,+BAA+B,EAAE,OAAO;YACxC,gCAAgC,EAAE,MAAM;YACxC,oCAAoC,EAAE,MAAM;YAC5C,yCAAyC,EAAE,OAAO;YAClD,kCAAkC,EAAE,OAAO;SAC5C;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;oBACnE,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,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 ADDED
@@ -0,0 +1,49 @@
1
+ {
2
+ "name": "@4mbl/lint",
3
+ "version": "0.0.0-alpha.0422e86",
4
+ "description": "Linting configuration for various environments.",
5
+ "type": "module",
6
+ "author": "4mbl",
7
+ "license": "MIT",
8
+ "homepage": "https://github.com/4mbl/config/tree/main/packages/lint#readme",
9
+ "exports": {
10
+ "./*": {
11
+ "types": "./dist/*.d.ts",
12
+ "development": "./src/*.ts",
13
+ "default": "./dist/*.js"
14
+ }
15
+ },
16
+ "bin": {
17
+ "lint": "./bin/cli.js"
18
+ },
19
+ "files": [
20
+ "dist",
21
+ "package.json",
22
+ "README.md",
23
+ "CHANGELOG.md"
24
+ ],
25
+ "repository": {
26
+ "type": "git",
27
+ "url": "git+https://github.com/4mbl/config.git",
28
+ "directory": "packages/lint"
29
+ },
30
+ "keywords": [
31
+ "lint"
32
+ ],
33
+ "dependencies": {
34
+ "eslint-plugin-react-compiler": "19.1.0-rc.2",
35
+ "eslint-plugin-react-hooks": "^7.0.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.20.0"
41
+ },
42
+ "devDependencies": {
43
+ "@types/node": "^24.12.2",
44
+ "@4mbl/tsconfig": "0.0.0-alpha.0422e86"
45
+ },
46
+ "scripts": {
47
+ "build": "tsc"
48
+ }
49
+ }