@lincy/eslint-config 4.3.0 → 4.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/dist/index.cjs +1 -1
- package/dist/index.d.cts +6575 -3574
- package/dist/index.d.ts +6575 -3574
- package/dist/index.js +2 -2
- package/package.json +13 -14
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import process3 from "node:process";
|
|
3
3
|
import fs from "node:fs";
|
|
4
4
|
import { isPackageExists as isPackageExists3 } from "local-pkg";
|
|
5
|
-
import {
|
|
5
|
+
import { FlatConfigComposer } from "eslint-flat-config-utils";
|
|
6
6
|
|
|
7
7
|
// src/plugins.ts
|
|
8
8
|
import { default as default2 } from "eslint-plugin-antfu";
|
|
@@ -2013,7 +2013,7 @@ function lincy(options = {}, ...userConfigs) {
|
|
|
2013
2013
|
}, {});
|
|
2014
2014
|
if (Object.keys(fusedConfig).length)
|
|
2015
2015
|
configs.push([fusedConfig]);
|
|
2016
|
-
let pipeline = new
|
|
2016
|
+
let pipeline = new FlatConfigComposer();
|
|
2017
2017
|
pipeline = pipeline.append(
|
|
2018
2018
|
...configs,
|
|
2019
2019
|
...userConfigs
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lincy/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "4.3.
|
|
4
|
+
"version": "4.3.1",
|
|
5
5
|
"packageManager": "pnpm@8.7.6",
|
|
6
6
|
"description": "LinCenYing's ESLint config",
|
|
7
7
|
"author": "LinCenYing <lincenying@gmail.com> (https://github.com/lincenying/)",
|
|
@@ -12,7 +12,6 @@
|
|
|
12
12
|
],
|
|
13
13
|
"exports": {
|
|
14
14
|
".": {
|
|
15
|
-
"types": "./dist/index.d.ts",
|
|
16
15
|
"import": "./dist/index.js",
|
|
17
16
|
"require": "./dist/index.cjs"
|
|
18
17
|
}
|
|
@@ -66,27 +65,27 @@
|
|
|
66
65
|
"@antfu/eslint-define-config": "1.23.0-2",
|
|
67
66
|
"@antfu/install-pkg": "^0.3.2",
|
|
68
67
|
"@stylistic/eslint-plugin": "1.7.0",
|
|
69
|
-
"@typescript-eslint/eslint-plugin": "^7.
|
|
70
|
-
"@typescript-eslint/parser": "^7.
|
|
68
|
+
"@typescript-eslint/eslint-plugin": "^7.5.0",
|
|
69
|
+
"@typescript-eslint/parser": "^7.5.0",
|
|
71
70
|
"eslint-config-flat-gitignore": "^0.1.3",
|
|
72
|
-
"eslint-flat-config-utils": "^0.
|
|
71
|
+
"eslint-flat-config-utils": "^0.2.0",
|
|
73
72
|
"eslint-merge-processors": "^0.1.0",
|
|
74
73
|
"eslint-parser-plain": "^0.1.0",
|
|
75
74
|
"eslint-plugin-antfu": "^2.1.2",
|
|
76
75
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
77
|
-
"eslint-plugin-import-x": "^0.
|
|
76
|
+
"eslint-plugin-import-x": "^0.5.0",
|
|
78
77
|
"eslint-plugin-jsdoc": "^48.2.2",
|
|
79
|
-
"eslint-plugin-jsonc": "^2.
|
|
78
|
+
"eslint-plugin-jsonc": "^2.15.0",
|
|
80
79
|
"eslint-plugin-markdown": "^4.0.1",
|
|
81
80
|
"eslint-plugin-n": "^16.6.2",
|
|
82
81
|
"eslint-plugin-no-only-tests": "^3.1.0",
|
|
83
82
|
"eslint-plugin-perfectionist": "^2.7.0",
|
|
84
|
-
"eslint-plugin-toml": "^0.
|
|
83
|
+
"eslint-plugin-toml": "^0.11.0",
|
|
85
84
|
"eslint-plugin-unicorn": "^51.0.1",
|
|
86
85
|
"eslint-plugin-unused-imports": "^3.1.0",
|
|
87
|
-
"eslint-plugin-vitest": "^0.4.
|
|
86
|
+
"eslint-plugin-vitest": "^0.4.1",
|
|
88
87
|
"eslint-plugin-vue": "^9.24.0",
|
|
89
|
-
"eslint-plugin-yml": "^1.
|
|
88
|
+
"eslint-plugin-yml": "^1.14.0",
|
|
90
89
|
"eslint-processor-vue-blocks": "^0.1.1",
|
|
91
90
|
"globals": "^15.0.0",
|
|
92
91
|
"jsonc-eslint-parser": "^2.4.0",
|
|
@@ -101,20 +100,20 @@
|
|
|
101
100
|
"@eslint-types/jsdoc": "48.2.1",
|
|
102
101
|
"@eslint-types/typescript-eslint": "^7.2.0",
|
|
103
102
|
"@eslint-types/unicorn": "^51.0.1",
|
|
103
|
+
"@eslint/config-inspector": "^0.2.1",
|
|
104
104
|
"@lincy/eslint-config": "workspace:*",
|
|
105
105
|
"@stylistic/eslint-plugin-migrate": "^1.7.0",
|
|
106
|
-
"@types/eslint": "^8.56.
|
|
107
|
-
"@types/node": "^20.
|
|
106
|
+
"@types/eslint": "^8.56.7",
|
|
107
|
+
"@types/node": "^20.12.2",
|
|
108
108
|
"@types/prompts": "^2.4.9",
|
|
109
109
|
"@unocss/eslint-plugin": "^0.58.8",
|
|
110
110
|
"bumpp": "^9.4.0",
|
|
111
111
|
"eslint": "^8.57.0",
|
|
112
|
-
"eslint-flat-config-viewer": "^0.1.17",
|
|
113
112
|
"eslint-plugin-format": "^0.1.0",
|
|
114
113
|
"eslint-plugin-react": "^7.34.1",
|
|
115
114
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
116
115
|
"eslint-plugin-react-refresh": "^0.4.6",
|
|
117
|
-
"eslint-typegen": "^0.
|
|
116
|
+
"eslint-typegen": "^0.2.0",
|
|
118
117
|
"esno": "^4.7.0",
|
|
119
118
|
"lint-staged": "^15.2.2",
|
|
120
119
|
"prettier": "^3.2.5",
|