@jsse/eslint-config 0.3.0 → 0.3.1
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 +6 -0
- package/dist/cli.js +1 -1
- package/dist/esm/generated/version.d.ts +1 -1
- package/dist/esm/generated/version.js +1 -1
- package/dist/esm/plugins.d.ts +2 -2
- package/dist/esm/plugins.js +1 -4
- package/dist/index.d.ts +494 -117
- package/dist/index.js +246 -34
- package/package.json +22 -22
package/CHANGELOG.md
CHANGED
package/dist/cli.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "0.3.
|
|
1
|
+
export declare const VERSION = "0.3.1";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = "0.3.
|
|
1
|
+
export const VERSION = "0.3.1";
|
package/dist/esm/plugins.d.ts
CHANGED
|
@@ -292,7 +292,7 @@ export declare function importPluginReact(): Promise<{
|
|
|
292
292
|
};
|
|
293
293
|
}>;
|
|
294
294
|
export declare function importPluginReactHooks(): Promise<{
|
|
295
|
-
pluginReactHooks:
|
|
295
|
+
pluginReactHooks: typeof import("eslint-plugin-react-hooks");
|
|
296
296
|
}>;
|
|
297
297
|
export declare function importPluginReactRefresh(): Promise<{
|
|
298
298
|
pluginReactRefresh: {
|
|
@@ -589,7 +589,7 @@ export declare function importReactPlugins(): Promise<{
|
|
|
589
589
|
flat: Record<string, import("eslint-plugin-react").ReactFlatConfig>;
|
|
590
590
|
};
|
|
591
591
|
};
|
|
592
|
-
pluginReactHooks:
|
|
592
|
+
pluginReactHooks: typeof import("eslint-plugin-react-hooks");
|
|
593
593
|
pluginReactRefresh: {
|
|
594
594
|
rules: Record<string, any>;
|
|
595
595
|
configs: {
|
package/dist/esm/plugins.js
CHANGED
|
@@ -27,9 +27,7 @@ export async function importPluginReact() {
|
|
|
27
27
|
};
|
|
28
28
|
}
|
|
29
29
|
export async function importPluginReactHooks() {
|
|
30
|
-
const pluginReactHooks = await interopDefault(
|
|
31
|
-
// @ts-expect-error - bad types
|
|
32
|
-
import("eslint-plugin-react-hooks"));
|
|
30
|
+
const pluginReactHooks = await interopDefault(import("eslint-plugin-react-hooks"));
|
|
33
31
|
return {
|
|
34
32
|
pluginReactHooks,
|
|
35
33
|
};
|
|
@@ -43,7 +41,6 @@ export async function importPluginReactRefresh() {
|
|
|
43
41
|
export async function importReactPlugins() {
|
|
44
42
|
const [pluginReact, pluginReactHooks, pluginReactRefresh] = await Promise.all([
|
|
45
43
|
interopDefault(import("eslint-plugin-react")),
|
|
46
|
-
// @ts-expect-error - bad types
|
|
47
44
|
interopDefault(import("eslint-plugin-react-hooks")),
|
|
48
45
|
interopDefault(import("eslint-plugin-react-refresh")),
|
|
49
46
|
]);
|