@lightwing/eslint-config 1.0.101 → 1.0.103
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/index.cjs +5 -5
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -18,11 +18,11 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
|
|
20
20
|
// src/index.ts
|
|
21
|
-
var
|
|
22
|
-
__export(
|
|
23
|
-
default: () =>
|
|
21
|
+
var index_exports = {};
|
|
22
|
+
__export(index_exports, {
|
|
23
|
+
default: () => index_default
|
|
24
24
|
});
|
|
25
|
-
module.exports = __toCommonJS(
|
|
25
|
+
module.exports = __toCommonJS(index_exports);
|
|
26
26
|
var import_eslint_config = require("@antfu/eslint-config");
|
|
27
27
|
function lightwing(options = {}, ...userConfigs) {
|
|
28
28
|
const lightwingConfigs = [
|
|
@@ -72,4 +72,4 @@ function lightwing(options = {}, ...userConfigs) {
|
|
|
72
72
|
...options
|
|
73
73
|
}, ...lightwingConfigs, ...userConfigs);
|
|
74
74
|
}
|
|
75
|
-
var
|
|
75
|
+
var index_default = lightwing;
|
package/dist/index.d.cts
CHANGED
|
@@ -3,6 +3,6 @@ import { OptionsConfig, TypedFlatConfigItem, Awaitable } from '@antfu/eslint-con
|
|
|
3
3
|
import { Linter } from 'eslint';
|
|
4
4
|
import { FlatConfigComposer } from 'eslint-flat-config-utils';
|
|
5
5
|
|
|
6
|
-
declare function lightwing(options?: OptionsConfig & TypedFlatConfigItem, ...userConfigs: Awaitable<TypedFlatConfigItem | TypedFlatConfigItem[] | FlatConfigComposer<any, any> | Linter.
|
|
6
|
+
declare function lightwing(options?: OptionsConfig & TypedFlatConfigItem, ...userConfigs: Awaitable<TypedFlatConfigItem | TypedFlatConfigItem[] | FlatConfigComposer<any, any> | Linter.Config[]>[]): FlatConfigComposer<TypedFlatConfigItem, _antfu_eslint_config.ConfigNames>;
|
|
7
7
|
|
|
8
8
|
export { lightwing as default };
|
package/dist/index.d.ts
CHANGED
|
@@ -3,6 +3,6 @@ import { OptionsConfig, TypedFlatConfigItem, Awaitable } from '@antfu/eslint-con
|
|
|
3
3
|
import { Linter } from 'eslint';
|
|
4
4
|
import { FlatConfigComposer } from 'eslint-flat-config-utils';
|
|
5
5
|
|
|
6
|
-
declare function lightwing(options?: OptionsConfig & TypedFlatConfigItem, ...userConfigs: Awaitable<TypedFlatConfigItem | TypedFlatConfigItem[] | FlatConfigComposer<any, any> | Linter.
|
|
6
|
+
declare function lightwing(options?: OptionsConfig & TypedFlatConfigItem, ...userConfigs: Awaitable<TypedFlatConfigItem | TypedFlatConfigItem[] | FlatConfigComposer<any, any> | Linter.Config[]>[]): FlatConfigComposer<TypedFlatConfigItem, _antfu_eslint_config.ConfigNames>;
|
|
7
7
|
|
|
8
8
|
export { lightwing as default };
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lightwing/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.103",
|
|
5
5
|
"description": "Lightwing ESLint config",
|
|
6
6
|
"author": "Archer Gu (https://github.com/ArcherGu/)",
|
|
7
7
|
"license": "MIT",
|
|
@@ -34,15 +34,15 @@
|
|
|
34
34
|
"typescript": ">=4.0.0"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@antfu/eslint-config": "^
|
|
38
|
-
"@eslint-react/eslint-plugin": "^1.
|
|
37
|
+
"@antfu/eslint-config": "^4.1.1",
|
|
38
|
+
"@eslint-react/eslint-plugin": "^1.26.1",
|
|
39
39
|
"@unocss/eslint-plugin": "^65.4.3",
|
|
40
40
|
"eslint-plugin-format": "^1.0.1",
|
|
41
41
|
"eslint-plugin-react-hooks": "^5.1.0",
|
|
42
42
|
"eslint-plugin-react-refresh": "^0.4.18"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"eslint": "9.
|
|
45
|
+
"eslint": "9.19.0",
|
|
46
46
|
"typescript": "5.7.3"
|
|
47
47
|
}
|
|
48
48
|
}
|