@4mbl/lint 1.0.0-beta.21 → 1.0.0-beta.23
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 +12 -0
- package/dist/base.d.ts +2 -2
- package/dist/base.d.ts.map +1 -1
- package/dist/next.d.ts +6 -6
- package/dist/next.d.ts.map +1 -1
- package/dist/node.d.ts +4 -4
- package/dist/node.d.ts.map +1 -1
- package/dist/react.d.ts +4 -4
- package/dist/react.d.ts.map +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
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: ("
|
|
4
|
+
plugins: ("import" | "typescript" | "unicorn")[];
|
|
5
5
|
jsPlugins: never[];
|
|
6
6
|
categories: {
|
|
7
7
|
correctness: "error";
|
|
@@ -164,7 +164,7 @@ declare function baseConfig(_options?: Partial<BaseOptions>): {
|
|
|
164
164
|
};
|
|
165
165
|
export { type OxlintConfig, defineConfig, baseConfig };
|
|
166
166
|
declare const _default: {
|
|
167
|
-
plugins: ("
|
|
167
|
+
plugins: ("import" | "typescript" | "unicorn")[];
|
|
168
168
|
jsPlugins: never[];
|
|
169
169
|
categories: {
|
|
170
170
|
correctness: "error";
|
package/dist/base.d.ts.map
CHANGED
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0LlD;AAED,OAAO,EAAE,KAAK,YAAY,EAAE,YAAY,EAAE,UAAU,EAAE,CAAC
|
|
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/next.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ type NextOptions = ReactOptions & {
|
|
|
14
14
|
declare function nextConfig(options?: Partial<NextOptions>): {
|
|
15
15
|
extends: {
|
|
16
16
|
extends: {
|
|
17
|
-
plugins: ("
|
|
17
|
+
plugins: ("import" | "typescript" | "unicorn")[];
|
|
18
18
|
jsPlugins: never[];
|
|
19
19
|
categories: {
|
|
20
20
|
correctness: "error";
|
|
@@ -175,7 +175,7 @@ declare function nextConfig(options?: Partial<NextOptions>): {
|
|
|
175
175
|
'oxc/no-async-await': "off";
|
|
176
176
|
};
|
|
177
177
|
}[];
|
|
178
|
-
plugins: ("
|
|
178
|
+
plugins: ("import" | "react" | "typescript" | "unicorn")[];
|
|
179
179
|
jsPlugins: {
|
|
180
180
|
name: string;
|
|
181
181
|
specifier: string;
|
|
@@ -242,7 +242,7 @@ declare function nextConfig(options?: Partial<NextOptions>): {
|
|
|
242
242
|
};
|
|
243
243
|
}[];
|
|
244
244
|
}[];
|
|
245
|
-
plugins: ("
|
|
245
|
+
plugins: ("import" | "nextjs" | "react" | "typescript" | "unicorn")[];
|
|
246
246
|
rules: {
|
|
247
247
|
'nextjs/google-font-display': "warn";
|
|
248
248
|
'nextjs/google-font-preconnect': "warn";
|
|
@@ -285,7 +285,7 @@ export { type OxlintConfig, defineConfig, nextConfig };
|
|
|
285
285
|
declare const _default: {
|
|
286
286
|
extends: {
|
|
287
287
|
extends: {
|
|
288
|
-
plugins: ("
|
|
288
|
+
plugins: ("import" | "typescript" | "unicorn")[];
|
|
289
289
|
jsPlugins: never[];
|
|
290
290
|
categories: {
|
|
291
291
|
correctness: "error";
|
|
@@ -446,7 +446,7 @@ declare const _default: {
|
|
|
446
446
|
'oxc/no-async-await': "off";
|
|
447
447
|
};
|
|
448
448
|
}[];
|
|
449
|
-
plugins: ("
|
|
449
|
+
plugins: ("import" | "react" | "typescript" | "unicorn")[];
|
|
450
450
|
jsPlugins: {
|
|
451
451
|
name: string;
|
|
452
452
|
specifier: string;
|
|
@@ -513,7 +513,7 @@ declare const _default: {
|
|
|
513
513
|
};
|
|
514
514
|
}[];
|
|
515
515
|
}[];
|
|
516
|
-
plugins: ("
|
|
516
|
+
plugins: ("import" | "nextjs" | "react" | "typescript" | "unicorn")[];
|
|
517
517
|
rules: {
|
|
518
518
|
'nextjs/google-font-display': "warn";
|
|
519
519
|
'nextjs/google-font-preconnect': "warn";
|
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,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0EjD;AAED,OAAO,EAAE,KAAK,YAAY,EAAE,YAAY,EAAE,UAAU,EAAE,CAAC"}
|
package/dist/node.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { defineConfig, type OxlintConfig } from 'oxlint';
|
|
|
2
2
|
type NodeOptions = {};
|
|
3
3
|
declare function nodeConfig(options?: Partial<NodeOptions>): {
|
|
4
4
|
extends: {
|
|
5
|
-
plugins: ("
|
|
5
|
+
plugins: ("import" | "typescript" | "unicorn")[];
|
|
6
6
|
jsPlugins: never[];
|
|
7
7
|
categories: {
|
|
8
8
|
correctness: "error";
|
|
@@ -163,7 +163,7 @@ declare function nodeConfig(options?: Partial<NodeOptions>): {
|
|
|
163
163
|
'oxc/no-async-await': "off";
|
|
164
164
|
};
|
|
165
165
|
}[];
|
|
166
|
-
plugins: ("
|
|
166
|
+
plugins: ("import" | "typescript" | "unicorn")[];
|
|
167
167
|
env: {
|
|
168
168
|
node: true;
|
|
169
169
|
};
|
|
@@ -177,7 +177,7 @@ declare function nodeConfig(options?: Partial<NodeOptions>): {
|
|
|
177
177
|
export { type OxlintConfig, defineConfig, nodeConfig };
|
|
178
178
|
declare const _default: {
|
|
179
179
|
extends: {
|
|
180
|
-
plugins: ("
|
|
180
|
+
plugins: ("import" | "typescript" | "unicorn")[];
|
|
181
181
|
jsPlugins: never[];
|
|
182
182
|
categories: {
|
|
183
183
|
correctness: "error";
|
|
@@ -338,7 +338,7 @@ declare const _default: {
|
|
|
338
338
|
'oxc/no-async-await': "off";
|
|
339
339
|
};
|
|
340
340
|
}[];
|
|
341
|
-
plugins: ("
|
|
341
|
+
plugins: ("import" | "typescript" | "unicorn")[];
|
|
342
342
|
env: {
|
|
343
343
|
node: true;
|
|
344
344
|
};
|
package/dist/node.d.ts.map
CHANGED
|
@@ -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,OAAO,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqBjD;AAED,OAAO,EAAE,KAAK,YAAY,EAAE,YAAY,EAAE,UAAU,EAAE,CAAC
|
|
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/react.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { defineConfig, type OxlintConfig } from 'oxlint';
|
|
|
2
2
|
export type ReactOptions = {};
|
|
3
3
|
declare function reactConfig(options?: Partial<ReactOptions>): {
|
|
4
4
|
extends: {
|
|
5
|
-
plugins: ("
|
|
5
|
+
plugins: ("import" | "typescript" | "unicorn")[];
|
|
6
6
|
jsPlugins: never[];
|
|
7
7
|
categories: {
|
|
8
8
|
correctness: "error";
|
|
@@ -163,7 +163,7 @@ declare function reactConfig(options?: Partial<ReactOptions>): {
|
|
|
163
163
|
'oxc/no-async-await': "off";
|
|
164
164
|
};
|
|
165
165
|
}[];
|
|
166
|
-
plugins: ("
|
|
166
|
+
plugins: ("import" | "react" | "typescript" | "unicorn")[];
|
|
167
167
|
jsPlugins: {
|
|
168
168
|
name: string;
|
|
169
169
|
specifier: string;
|
|
@@ -233,7 +233,7 @@ declare function reactConfig(options?: Partial<ReactOptions>): {
|
|
|
233
233
|
export { type OxlintConfig, defineConfig, reactConfig };
|
|
234
234
|
declare const _default: {
|
|
235
235
|
extends: {
|
|
236
|
-
plugins: ("
|
|
236
|
+
plugins: ("import" | "typescript" | "unicorn")[];
|
|
237
237
|
jsPlugins: never[];
|
|
238
238
|
categories: {
|
|
239
239
|
correctness: "error";
|
|
@@ -394,7 +394,7 @@ declare const _default: {
|
|
|
394
394
|
'oxc/no-async-await': "off";
|
|
395
395
|
};
|
|
396
396
|
}[];
|
|
397
|
-
plugins: ("
|
|
397
|
+
plugins: ("import" | "react" | "typescript" | "unicorn")[];
|
|
398
398
|
jsPlugins: {
|
|
399
399
|
name: string;
|
|
400
400
|
specifier: string;
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmFnD;AAED,OAAO,EAAE,KAAK,YAAY,EAAE,YAAY,EAAE,WAAW,EAAE,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmFnD;AAED,OAAO,EAAE,KAAK,YAAY,EAAE,YAAY,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.23",
|
|
4
4
|
"description": "Linting configuration for various environments.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "4mbl",
|
|
@@ -33,11 +33,11 @@
|
|
|
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.
|
|
37
|
-
"oxlint-tsgolint": "0.
|
|
36
|
+
"oxlint": "1.74.x",
|
|
37
|
+
"oxlint-tsgolint": "0.25.x"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@types/node": "^24.13.
|
|
40
|
+
"@types/node": "^24.13.3",
|
|
41
41
|
"@4mbl/tsconfig": "5.0.0-beta.1"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|