@wongxy/eslint-config 0.0.15 → 0.0.17
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/dist/cli.cjs +3 -4
- package/dist/cli.js +3 -4
- package/dist/index.d.cts +5 -3
- package/dist/index.d.ts +5 -3
- package/package.json +6 -7
package/dist/cli.cjs
CHANGED
|
@@ -46,20 +46,19 @@ var import_parse_gitignore = __toESM(require("parse-gitignore"), 1);
|
|
|
46
46
|
var import_picocolors = __toESM(require("picocolors"), 1);
|
|
47
47
|
|
|
48
48
|
// package.json
|
|
49
|
-
var version = "0.0.
|
|
49
|
+
var version = "0.0.17";
|
|
50
50
|
var devDependencies = {
|
|
51
|
-
"@antfu/eslint-config": "^2.6.4",
|
|
52
51
|
"@types/eslint": "^8.56.5",
|
|
53
52
|
"@types/prompts": "^2.4.9",
|
|
54
53
|
"@types/yargs": "^17.0.32",
|
|
55
54
|
bumpp: "^9.3.0",
|
|
56
|
-
eslint: "^
|
|
55
|
+
eslint: "^9.0.0",
|
|
57
56
|
"eslint-flat-config-viewer": "^0.1.11",
|
|
58
57
|
"parse-gitignore": "^2.0.0",
|
|
59
58
|
picocolors: "^1.0.0",
|
|
60
59
|
prompts: "^2.4.2",
|
|
61
60
|
tsup: "^8.0.2",
|
|
62
|
-
typescript: "5.
|
|
61
|
+
typescript: "5.4.5",
|
|
63
62
|
yargs: "^17.7.2"
|
|
64
63
|
};
|
|
65
64
|
|
package/dist/cli.js
CHANGED
|
@@ -17,20 +17,19 @@ import parse from "parse-gitignore";
|
|
|
17
17
|
import c from "picocolors";
|
|
18
18
|
|
|
19
19
|
// package.json
|
|
20
|
-
var version = "0.0.
|
|
20
|
+
var version = "0.0.17";
|
|
21
21
|
var devDependencies = {
|
|
22
|
-
"@antfu/eslint-config": "^2.6.4",
|
|
23
22
|
"@types/eslint": "^8.56.5",
|
|
24
23
|
"@types/prompts": "^2.4.9",
|
|
25
24
|
"@types/yargs": "^17.0.32",
|
|
26
25
|
bumpp: "^9.3.0",
|
|
27
|
-
eslint: "^
|
|
26
|
+
eslint: "^9.0.0",
|
|
28
27
|
"eslint-flat-config-viewer": "^0.1.11",
|
|
29
28
|
"parse-gitignore": "^2.0.0",
|
|
30
29
|
picocolors: "^1.0.0",
|
|
31
30
|
prompts: "^2.4.2",
|
|
32
31
|
tsup: "^8.0.2",
|
|
33
|
-
typescript: "5.
|
|
32
|
+
typescript: "5.4.5",
|
|
34
33
|
yargs: "^17.7.2"
|
|
35
34
|
};
|
|
36
35
|
|
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { OptionsConfig,
|
|
1
|
+
import { OptionsConfig, TypedFlatConfigItem, Awaitable, ConfigNames } from '@antfu/eslint-config';
|
|
2
|
+
import { Linter } from 'eslint';
|
|
3
|
+
import { FlatConfigComposer } from 'eslint-flat-config-utils';
|
|
2
4
|
|
|
3
|
-
declare function wongxy(options?: OptionsConfig &
|
|
5
|
+
declare function wongxy(options?: OptionsConfig & TypedFlatConfigItem & {
|
|
4
6
|
reactnative?: boolean;
|
|
5
|
-
}, ...userConfigs: Awaitable<
|
|
7
|
+
}, ...userConfigs: Awaitable<TypedFlatConfigItem | TypedFlatConfigItem[] | FlatConfigComposer<any, any> | Linter.FlatConfig[]>[]): FlatConfigComposer<TypedFlatConfigItem, ConfigNames>;
|
|
6
8
|
|
|
7
9
|
export { wongxy as default };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { OptionsConfig,
|
|
1
|
+
import { OptionsConfig, TypedFlatConfigItem, Awaitable, ConfigNames } from '@antfu/eslint-config';
|
|
2
|
+
import { Linter } from 'eslint';
|
|
3
|
+
import { FlatConfigComposer } from 'eslint-flat-config-utils';
|
|
2
4
|
|
|
3
|
-
declare function wongxy(options?: OptionsConfig &
|
|
5
|
+
declare function wongxy(options?: OptionsConfig & TypedFlatConfigItem & {
|
|
4
6
|
reactnative?: boolean;
|
|
5
|
-
}, ...userConfigs: Awaitable<
|
|
7
|
+
}, ...userConfigs: Awaitable<TypedFlatConfigItem | TypedFlatConfigItem[] | FlatConfigComposer<any, any> | Linter.FlatConfig[]>[]): FlatConfigComposer<TypedFlatConfigItem, ConfigNames>;
|
|
6
8
|
|
|
7
9
|
export { wongxy as default };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wongxy/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.17",
|
|
5
5
|
"description": "xiyaowong's eslint config",
|
|
6
6
|
"author": "xiyaowong (https://github.com/xiyaowong)",
|
|
7
7
|
"license": "MIT",
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
"dist"
|
|
24
24
|
],
|
|
25
25
|
"peerDependencies": {
|
|
26
|
-
"eslint-plugin-react": "
|
|
27
|
-
"eslint-plugin-react-hooks": "
|
|
28
|
-
"eslint-plugin-react-refresh": "
|
|
26
|
+
"eslint-plugin-react": "*",
|
|
27
|
+
"eslint-plugin-react-hooks": "*",
|
|
28
|
+
"eslint-plugin-react-refresh": "*"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@antfu/eslint-config": "^2.7.0",
|
|
@@ -35,18 +35,17 @@
|
|
|
35
35
|
"yargs": "^17.7.2"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@antfu/eslint-config": "^2.6.4",
|
|
39
38
|
"@types/eslint": "^8.56.5",
|
|
40
39
|
"@types/prompts": "^2.4.9",
|
|
41
40
|
"@types/yargs": "^17.0.32",
|
|
42
41
|
"bumpp": "^9.3.0",
|
|
43
|
-
"eslint": "^
|
|
42
|
+
"eslint": "^9.0.0",
|
|
44
43
|
"eslint-flat-config-viewer": "^0.1.11",
|
|
45
44
|
"parse-gitignore": "^2.0.0",
|
|
46
45
|
"picocolors": "^1.0.0",
|
|
47
46
|
"prompts": "^2.4.2",
|
|
48
47
|
"tsup": "^8.0.2",
|
|
49
|
-
"typescript": "5.
|
|
48
|
+
"typescript": "5.4.5",
|
|
50
49
|
"yargs": "^17.7.2"
|
|
51
50
|
},
|
|
52
51
|
"scripts": {
|