@daopk/eslint-config 0.5.4 → 0.5.5
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.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as Options, r as Linter, t as LinterConfig } from "./types-
|
|
1
|
+
import { n as Options, r as Linter, t as LinterConfig } from "./types-OucDJ9e4.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/index.d.ts
|
|
4
4
|
declare function daopk(options?: Options, ...userConfigs: Linter.Config[]): Promise<LinterConfig[]>;
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as node, c as builtin, i as perfectionist, l as antfu, n as typescript, o as imports, r as stylistic, s as ignores, t as interopDefault } from "./utils-
|
|
1
|
+
import { a as node, c as builtin, i as perfectionist, l as antfu, n as typescript, o as imports, r as stylistic, s as ignores, t as interopDefault } from "./utils-BV1xEDzx.mjs";
|
|
2
2
|
import { isPackageExists } from "local-pkg";
|
|
3
3
|
|
|
4
4
|
//#region src/index.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as Options, t as LinterConfig } from "../types-
|
|
1
|
+
import { n as Options, t as LinterConfig } from "../types-OucDJ9e4.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/presets/nestjs.d.ts
|
|
4
4
|
declare function presetNestjs(options?: Options, ...userConfigs: LinterConfig[]): Promise<LinterConfig[]>;
|
package/dist/presets/nestjs.mjs
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { StylisticCustomizeOptions } from "@stylistic/eslint-plugin";
|
|
2
2
|
|
|
3
|
+
//#region src/configs/stylistic.d.ts
|
|
4
|
+
type StylisticOptions = Omit<StylisticCustomizeOptions, 'flat' | 'pluginName'>;
|
|
5
|
+
//#endregion
|
|
3
6
|
//#region node_modules/.pnpm/@types+estree@1.0.8/node_modules/@types/estree/index.d.ts
|
|
4
7
|
// This definition file follows a somewhat unusual format. ESTree allows
|
|
5
8
|
// runtime type checks based on the `type` parameter. In order to explain this
|
|
@@ -2667,9 +2670,6 @@ declare namespace ESLint {
|
|
|
2667
2670
|
type EditInfo = Rule.Fix;
|
|
2668
2671
|
}
|
|
2669
2672
|
//#endregion
|
|
2670
|
-
//#region src/configs/stylistic.d.ts
|
|
2671
|
-
type StylisticOptions = Omit<StylisticCustomizeOptions, 'flat' | 'pluginName'>;
|
|
2672
|
-
//#endregion
|
|
2673
2673
|
//#region src/typegen.d.ts
|
|
2674
2674
|
declare module 'eslint' {
|
|
2675
2675
|
namespace Linter {
|
|
@@ -98,12 +98,12 @@ function perfectionist() {
|
|
|
98
98
|
}],
|
|
99
99
|
"perfectionist/sort-imports": ["error", {
|
|
100
100
|
groups: [
|
|
101
|
-
"type",
|
|
101
|
+
"type-import",
|
|
102
102
|
[
|
|
103
|
-
"parent
|
|
104
|
-
"sibling
|
|
105
|
-
"index
|
|
106
|
-
"internal
|
|
103
|
+
"type-parent",
|
|
104
|
+
"type-sibling",
|
|
105
|
+
"type-index",
|
|
106
|
+
"type-internal"
|
|
107
107
|
],
|
|
108
108
|
"builtin",
|
|
109
109
|
"external",
|
|
@@ -114,7 +114,7 @@ function perfectionist() {
|
|
|
114
114
|
"index"
|
|
115
115
|
],
|
|
116
116
|
"side-effect",
|
|
117
|
-
"
|
|
117
|
+
"ts-equals-import",
|
|
118
118
|
"unknown"
|
|
119
119
|
],
|
|
120
120
|
newlinesBetween: "ignore",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@daopk/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.5.
|
|
4
|
+
"version": "0.5.5",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "github:daopk/eslint-config",
|
|
7
7
|
"exports": {
|
|
@@ -16,15 +16,6 @@
|
|
|
16
16
|
"files": [
|
|
17
17
|
"dist"
|
|
18
18
|
],
|
|
19
|
-
"scripts": {
|
|
20
|
-
"dev": "eslint-config-inspector",
|
|
21
|
-
"typegen": "tsx scripts/typegen.ts",
|
|
22
|
-
"build": "pnpm typegen && tsdown",
|
|
23
|
-
"build:inspector": "pnpm build && eslint-config-inspector build",
|
|
24
|
-
"lint": "eslint .",
|
|
25
|
-
"prepack": "pnpm build",
|
|
26
|
-
"release": "bumpp && pnpm publish"
|
|
27
|
-
},
|
|
28
19
|
"dependencies": {
|
|
29
20
|
"@stylistic/eslint-plugin": "^5.8.0",
|
|
30
21
|
"@typescript-eslint/eslint-plugin": "^8.56.0",
|
|
@@ -51,9 +42,12 @@
|
|
|
51
42
|
"tsx": "^4.21.0",
|
|
52
43
|
"typescript": "^5.9.3"
|
|
53
44
|
},
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
|
|
57
|
-
|
|
45
|
+
"scripts": {
|
|
46
|
+
"dev": "eslint-config-inspector",
|
|
47
|
+
"typegen": "tsx scripts/typegen.ts",
|
|
48
|
+
"build": "pnpm typegen && tsdown",
|
|
49
|
+
"build:inspector": "pnpm build && eslint-config-inspector build",
|
|
50
|
+
"lint": "eslint .",
|
|
51
|
+
"release": "bumpp && pnpm publish"
|
|
58
52
|
}
|
|
59
|
-
}
|
|
53
|
+
}
|