@kazupon/eslint-config 0.12.0 → 0.13.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/README.md +19 -17
- package/dist/configs/index.d.cts +1 -0
- package/dist/configs/index.d.ts +1 -0
- package/dist/configs/react.d.cts +26 -0
- package/dist/configs/react.d.ts +26 -0
- package/dist/index.cjs +45 -8
- package/dist/index.js +40 -9
- package/dist/types/gens/eslint.d.cts +2 -1
- package/dist/types/gens/eslint.d.ts +2 -1
- package/dist/types/gens/react.d.cts +1053 -0
- package/dist/types/gens/react.d.ts +1053 -0
- package/dist/types/index.d.cts +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/overrides.d.cts +1 -0
- package/dist/types/overrides.d.ts +1 -0
- package/dist/utils.d.cts +6 -0
- package/dist/utils.d.ts +6 -0
- package/package.json +16 -1
package/dist/types/index.d.cts
CHANGED
package/dist/types/index.d.ts
CHANGED
package/dist/utils.d.cts
CHANGED
|
@@ -23,3 +23,9 @@ export declare function interopDefault<T>(mod: Awaitable<T>): Promise<InteropMod
|
|
|
23
23
|
* @returns {Promise<T>} loaded plugin
|
|
24
24
|
*/
|
|
25
25
|
export declare function loadPlugin<T = unknown>(name: string): Promise<T>;
|
|
26
|
+
/**
|
|
27
|
+
* get TypeScript parser
|
|
28
|
+
* @description get the parser, which is `typescript-eslint` parser
|
|
29
|
+
* @returns {Promise<typeof import('typescript-eslint')['parser']>} TypeScript parser
|
|
30
|
+
*/
|
|
31
|
+
export declare function getTypeScriptParser(): Promise<(typeof import('typescript-eslint'))['parser']>;
|
package/dist/utils.d.ts
CHANGED
|
@@ -23,3 +23,9 @@ export declare function interopDefault<T>(mod: Awaitable<T>): Promise<InteropMod
|
|
|
23
23
|
* @returns {Promise<T>} loaded plugin
|
|
24
24
|
*/
|
|
25
25
|
export declare function loadPlugin<T = unknown>(name: string): Promise<T>;
|
|
26
|
+
/**
|
|
27
|
+
* get TypeScript parser
|
|
28
|
+
* @description get the parser, which is `typescript-eslint` parser
|
|
29
|
+
* @returns {Promise<typeof import('typescript-eslint')['parser']>} TypeScript parser
|
|
30
|
+
*/
|
|
31
|
+
export declare function getTypeScriptParser(): Promise<(typeof import('typescript-eslint'))['parser']>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kazupon/eslint-config",
|
|
3
3
|
"description": "ESLint config for @kazupon",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.13.1",
|
|
5
5
|
"author": {
|
|
6
6
|
"email": "kawakazu80@gmail.com",
|
|
7
7
|
"name": "kazuya kawaguchi"
|
|
@@ -51,6 +51,9 @@
|
|
|
51
51
|
"eslint-plugin-jsdoc": ">=48.5.0",
|
|
52
52
|
"eslint-plugin-jsonc": ">=2.16.0",
|
|
53
53
|
"eslint-plugin-promise": ">=6.4.0",
|
|
54
|
+
"eslint-plugin-react": ">=7.35.0",
|
|
55
|
+
"eslint-plugin-react-hooks": ">=4.6.0",
|
|
56
|
+
"eslint-plugin-react-refresh": ">=0.4.0",
|
|
54
57
|
"eslint-plugin-regexp": ">=2.6.0",
|
|
55
58
|
"eslint-plugin-svelte": ">=2.43.0",
|
|
56
59
|
"eslint-plugin-toml": ">=0.11.0",
|
|
@@ -73,6 +76,15 @@
|
|
|
73
76
|
"eslint-plugin-promise": {
|
|
74
77
|
"optional": true
|
|
75
78
|
},
|
|
79
|
+
"eslint-plugin-react": {
|
|
80
|
+
"optional": true
|
|
81
|
+
},
|
|
82
|
+
"eslint-plugin-react-hooks": {
|
|
83
|
+
"optional": true
|
|
84
|
+
},
|
|
85
|
+
"eslint-plugin-react-refresh": {
|
|
86
|
+
"optional": true
|
|
87
|
+
},
|
|
76
88
|
"eslint-plugin-regexp": {
|
|
77
89
|
"optional": true
|
|
78
90
|
},
|
|
@@ -108,6 +120,9 @@
|
|
|
108
120
|
"eslint-plugin-jsdoc": "^48.5.2",
|
|
109
121
|
"eslint-plugin-jsonc": "^2.16.0",
|
|
110
122
|
"eslint-plugin-promise": "^7.0.0",
|
|
123
|
+
"eslint-plugin-react": "^7.35.0",
|
|
124
|
+
"eslint-plugin-react-hooks": "^4.6.2",
|
|
125
|
+
"eslint-plugin-react-refresh": "^0.4.9",
|
|
111
126
|
"eslint-plugin-regexp": "^2.6.0",
|
|
112
127
|
"eslint-plugin-svelte": "^2.43.0",
|
|
113
128
|
"eslint-plugin-toml": "^0.11.0",
|