@storm-software/eslint 0.170.157 → 0.170.158
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 +1 -1
- package/dist/index.d.mts +40 -38
- package/dist/index.mjs +4 -2
- package/dist/plugins.d.mts +4 -605
- package/dist/plugins.mjs +15 -1
- package/dist/preset.d.mts +3 -1
- package/dist/preset.mjs +212 -2
- package/dist/typegen.d.mts +2 -0
- package/dist/types.d.mts +733 -1
- package/dist/types.mjs +3 -0
- package/dist/{find-workspace-root-D3UHWbgn.mjs → utils/correct-paths.mjs} +4 -79
- package/dist/utils/find-workspace-root.mjs +83 -0
- package/dist/{helpers-mce_MNwt.mjs → utils/helpers.mjs} +4 -1
- package/dist/utils/package-manager.mjs +20 -0
- package/dist/utils/tsconfig.mjs +48 -0
- package/package.json +15 -15
- package/dist/astro-CKzo6xci.d.mts +0 -5
- package/dist/banner-YnHf4ewf.d.mts +0 -5
- package/dist/bun-OJPLvfnX.d.mts +0 -5
- package/dist/cspell-CfGd6g7m.d.mts +0 -8
- package/dist/disables-Dx5b56Fi.d.mts +0 -5
- package/dist/formatters-VU6Zu_ju.d.mts +0 -5
- package/dist/graphql-ClFinA5J.d.mts +0 -5
- package/dist/ignores-CPeru9Fz.d.mts +0 -5
- package/dist/imports-CQToT7JW.d.mts +0 -5
- package/dist/javascript-BR8uv0Wr.d.mts +0 -5
- package/dist/jsdoc-Dy8bHykP.d.mts +0 -5
- package/dist/jsonc-YqDXTIOi.d.mts +0 -5
- package/dist/jsx-DzqEJSYd.d.mts +0 -5
- package/dist/markdown-C5lFEI83.d.mts +0 -5
- package/dist/mdx-CDEhveb1.d.mts +0 -5
- package/dist/next-DGhspeMc.d.mts +0 -8
- package/dist/node-CQgsZ8nv.d.mts +0 -5
- package/dist/nx-CLRc6QRM.d.mts +0 -8
- package/dist/perfectionist-CgSgqAjV.d.mts +0 -10
- package/dist/plugins-CZWNS7l4.mjs +0 -8291
- package/dist/pnpm-Cp9VzsCv.d.mts +0 -5
- package/dist/preset-x6MId9-7.mjs +0 -265
- package/dist/prettier-CboafVRp.d.mts +0 -8
- package/dist/react-C5HWHYPh.d.mts +0 -5
- package/dist/react-native-DjQo3PXB.d.mts +0 -8
- package/dist/regexp-D2Fm6vg7.d.mts +0 -5
- package/dist/rolldown-runtime-CMFfr-1z.mjs +0 -26
- package/dist/secrets-DfvPNLCF.d.mts +0 -10
- package/dist/sort-9_xeGmal.d.mts +0 -16
- package/dist/storybook-DqDJ5exI.d.mts +0 -5
- package/dist/stylistic-9jDGqsHH.d.mts +0 -9
- package/dist/test-Dw-h86ig.d.mts +0 -5
- package/dist/toml-ConAZLXy.d.mts +0 -5
- package/dist/tsdoc-DcYWMVl0.d.mts +0 -5
- package/dist/types-XIthLTox.d.mts +0 -852
- package/dist/typescript-BFiiMXDt.d.mts +0 -5
- package/dist/unicorn-CQ3PTdfT.d.mts +0 -5
- package/dist/unocss-Uw-vEvNU.d.mts +0 -5
- package/dist/yaml-Ddbh49WY.d.mts +0 -5
- package/dist/zod-7F7dUsU5.d.mts +0 -8
package/dist/types.mjs
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import "node:path";
|
|
2
|
+
import "node:url";
|
|
3
|
+
import.meta.url;
|
|
3
4
|
//#region src/utils/correct-paths.ts
|
|
4
5
|
const _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//;
|
|
5
6
|
function normalizeWindowsPath(input = "") {
|
|
@@ -132,80 +133,4 @@ const relative = function(from, to) {
|
|
|
132
133
|
return [..._from.map(() => ".."), ..._to].join("/");
|
|
133
134
|
};
|
|
134
135
|
//#endregion
|
|
135
|
-
|
|
136
|
-
const MAX_PATH_SEARCH_DEPTH = 30;
|
|
137
|
-
let depth = 0;
|
|
138
|
-
/**
|
|
139
|
-
* Gets the nearest "node_modules" folder by walking up from start path.
|
|
140
|
-
*/
|
|
141
|
-
function findFolderUp(startPath, endFileNames = [], endDirectoryNames = []) {
|
|
142
|
-
const _startPath = startPath ?? process.cwd();
|
|
143
|
-
if (endDirectoryNames.some((endDirName) => existsSync(join(_startPath, endDirName)))) return _startPath;
|
|
144
|
-
if (endFileNames.some((endFileName) => existsSync(join(_startPath, endFileName)))) return _startPath;
|
|
145
|
-
if (_startPath !== "/" && depth++ < MAX_PATH_SEARCH_DEPTH) return findFolderUp(join(_startPath, ".."), endFileNames, endDirectoryNames);
|
|
146
|
-
}
|
|
147
|
-
const rootFiles = [
|
|
148
|
-
"storm-workspace.json",
|
|
149
|
-
"storm-workspace.json",
|
|
150
|
-
"storm-workspace.yaml",
|
|
151
|
-
"storm-workspace.yml",
|
|
152
|
-
"storm-workspace.js",
|
|
153
|
-
"storm-workspace.ts",
|
|
154
|
-
".storm-workspace.json",
|
|
155
|
-
".storm-workspace.yaml",
|
|
156
|
-
".storm-workspace.yml",
|
|
157
|
-
".storm-workspace.js",
|
|
158
|
-
".storm-workspace.ts",
|
|
159
|
-
"lerna.json",
|
|
160
|
-
"nx.json",
|
|
161
|
-
"turbo.json",
|
|
162
|
-
"npm-workspace.json",
|
|
163
|
-
"yarn-workspace.json",
|
|
164
|
-
"pnpm-workspace.json",
|
|
165
|
-
"npm-workspace.yaml",
|
|
166
|
-
"yarn-workspace.yaml",
|
|
167
|
-
"pnpm-workspace.yaml",
|
|
168
|
-
"npm-workspace.yml",
|
|
169
|
-
"yarn-workspace.yml",
|
|
170
|
-
"pnpm-workspace.yml",
|
|
171
|
-
"npm-lock.json",
|
|
172
|
-
"yarn-lock.json",
|
|
173
|
-
"pnpm-lock.json",
|
|
174
|
-
"npm-lock.yaml",
|
|
175
|
-
"yarn-lock.yaml",
|
|
176
|
-
"pnpm-lock.yaml",
|
|
177
|
-
"npm-lock.yml",
|
|
178
|
-
"yarn-lock.yml",
|
|
179
|
-
"pnpm-lock.yml",
|
|
180
|
-
"bun.lockb"
|
|
181
|
-
];
|
|
182
|
-
const rootDirectories = [
|
|
183
|
-
".storm-workspace",
|
|
184
|
-
".nx",
|
|
185
|
-
".github",
|
|
186
|
-
".vscode",
|
|
187
|
-
".verdaccio"
|
|
188
|
-
];
|
|
189
|
-
/**
|
|
190
|
-
* Find the monorepo root directory, searching upwards from `path`.
|
|
191
|
-
*
|
|
192
|
-
* @param pathInsideMonorepo - The path inside the monorepo to start searching from
|
|
193
|
-
* @returns The monorepo root directory
|
|
194
|
-
*/
|
|
195
|
-
function findWorkspaceRootSafe(pathInsideMonorepo) {
|
|
196
|
-
if (process.env.STORM_WORKSPACE_ROOT || process.env.NX_WORKSPACE_ROOT_PATH) return correctPaths(process.env.STORM_WORKSPACE_ROOT ?? process.env.NX_WORKSPACE_ROOT_PATH);
|
|
197
|
-
return correctPaths(findFolderUp(pathInsideMonorepo ?? process.cwd(), rootFiles, rootDirectories));
|
|
198
|
-
}
|
|
199
|
-
/**
|
|
200
|
-
* Find the monorepo root directory, searching upwards from `path`.
|
|
201
|
-
*
|
|
202
|
-
* @param pathInsideMonorepo - The path inside the monorepo to start searching from
|
|
203
|
-
* @returns The monorepo root directory
|
|
204
|
-
*/
|
|
205
|
-
function findWorkspaceRoot(pathInsideMonorepo) {
|
|
206
|
-
const result = findWorkspaceRootSafe(pathInsideMonorepo);
|
|
207
|
-
if (!result) throw new Error(`Cannot find workspace root upwards from known path. Files search list includes: \n${rootFiles.join("\n")}\nPath: ${pathInsideMonorepo ? pathInsideMonorepo : process.cwd()}`);
|
|
208
|
-
return result;
|
|
209
|
-
}
|
|
210
|
-
//#endregion
|
|
211
|
-
export { relative as i, findWorkspaceRootSafe as n, joinPaths as r, findWorkspaceRoot as t };
|
|
136
|
+
export { correctPaths, isAbsolute, joinPaths, normalizeString, normalizeWindowsPath, relative, resolve };
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import "node:path";
|
|
2
|
+
import "node:url";
|
|
3
|
+
import.meta.url;
|
|
4
|
+
import { correctPaths } from "./correct-paths.mjs";
|
|
5
|
+
import { existsSync } from "node:fs";
|
|
6
|
+
import { join } from "node:path";
|
|
7
|
+
//#region src/utils/find-workspace-root.ts
|
|
8
|
+
const MAX_PATH_SEARCH_DEPTH = 30;
|
|
9
|
+
let depth = 0;
|
|
10
|
+
/**
|
|
11
|
+
* Gets the nearest "node_modules" folder by walking up from start path.
|
|
12
|
+
*/
|
|
13
|
+
function findFolderUp(startPath, endFileNames = [], endDirectoryNames = []) {
|
|
14
|
+
const _startPath = startPath ?? process.cwd();
|
|
15
|
+
if (endDirectoryNames.some((endDirName) => existsSync(join(_startPath, endDirName)))) return _startPath;
|
|
16
|
+
if (endFileNames.some((endFileName) => existsSync(join(_startPath, endFileName)))) return _startPath;
|
|
17
|
+
if (_startPath !== "/" && depth++ < MAX_PATH_SEARCH_DEPTH) return findFolderUp(join(_startPath, ".."), endFileNames, endDirectoryNames);
|
|
18
|
+
}
|
|
19
|
+
const rootFiles = [
|
|
20
|
+
"storm-workspace.json",
|
|
21
|
+
"storm-workspace.json",
|
|
22
|
+
"storm-workspace.yaml",
|
|
23
|
+
"storm-workspace.yml",
|
|
24
|
+
"storm-workspace.js",
|
|
25
|
+
"storm-workspace.ts",
|
|
26
|
+
".storm-workspace.json",
|
|
27
|
+
".storm-workspace.yaml",
|
|
28
|
+
".storm-workspace.yml",
|
|
29
|
+
".storm-workspace.js",
|
|
30
|
+
".storm-workspace.ts",
|
|
31
|
+
"lerna.json",
|
|
32
|
+
"nx.json",
|
|
33
|
+
"turbo.json",
|
|
34
|
+
"npm-workspace.json",
|
|
35
|
+
"yarn-workspace.json",
|
|
36
|
+
"pnpm-workspace.json",
|
|
37
|
+
"npm-workspace.yaml",
|
|
38
|
+
"yarn-workspace.yaml",
|
|
39
|
+
"pnpm-workspace.yaml",
|
|
40
|
+
"npm-workspace.yml",
|
|
41
|
+
"yarn-workspace.yml",
|
|
42
|
+
"pnpm-workspace.yml",
|
|
43
|
+
"npm-lock.json",
|
|
44
|
+
"yarn-lock.json",
|
|
45
|
+
"pnpm-lock.json",
|
|
46
|
+
"npm-lock.yaml",
|
|
47
|
+
"yarn-lock.yaml",
|
|
48
|
+
"pnpm-lock.yaml",
|
|
49
|
+
"npm-lock.yml",
|
|
50
|
+
"yarn-lock.yml",
|
|
51
|
+
"pnpm-lock.yml",
|
|
52
|
+
"bun.lockb"
|
|
53
|
+
];
|
|
54
|
+
const rootDirectories = [
|
|
55
|
+
".storm-workspace",
|
|
56
|
+
".nx",
|
|
57
|
+
".github",
|
|
58
|
+
".vscode",
|
|
59
|
+
".verdaccio"
|
|
60
|
+
];
|
|
61
|
+
/**
|
|
62
|
+
* Find the monorepo root directory, searching upwards from `path`.
|
|
63
|
+
*
|
|
64
|
+
* @param pathInsideMonorepo - The path inside the monorepo to start searching from
|
|
65
|
+
* @returns The monorepo root directory
|
|
66
|
+
*/
|
|
67
|
+
function findWorkspaceRootSafe(pathInsideMonorepo) {
|
|
68
|
+
if (process.env.STORM_WORKSPACE_ROOT || process.env.NX_WORKSPACE_ROOT_PATH) return correctPaths(process.env.STORM_WORKSPACE_ROOT ?? process.env.NX_WORKSPACE_ROOT_PATH);
|
|
69
|
+
return correctPaths(findFolderUp(pathInsideMonorepo ?? process.cwd(), rootFiles, rootDirectories));
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Find the monorepo root directory, searching upwards from `path`.
|
|
73
|
+
*
|
|
74
|
+
* @param pathInsideMonorepo - The path inside the monorepo to start searching from
|
|
75
|
+
* @returns The monorepo root directory
|
|
76
|
+
*/
|
|
77
|
+
function findWorkspaceRoot(pathInsideMonorepo) {
|
|
78
|
+
const result = findWorkspaceRootSafe(pathInsideMonorepo);
|
|
79
|
+
if (!result) throw new Error(`Cannot find workspace root upwards from known path. Files search list includes: \n${rootFiles.join("\n")}\nPath: ${pathInsideMonorepo ? pathInsideMonorepo : process.cwd()}`);
|
|
80
|
+
return result;
|
|
81
|
+
}
|
|
82
|
+
//#endregion
|
|
83
|
+
export { findWorkspaceRoot, findWorkspaceRootSafe };
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import "node:path";
|
|
2
|
+
import "node:url";
|
|
3
|
+
import.meta.url;
|
|
1
4
|
import { isPackageExists } from "local-pkg";
|
|
2
5
|
import process from "node:process";
|
|
3
6
|
import { fileURLToPath } from "node:url";
|
|
@@ -69,4 +72,4 @@ function renameRules(rules, map) {
|
|
|
69
72
|
}));
|
|
70
73
|
}
|
|
71
74
|
//#endregion
|
|
72
|
-
export {
|
|
75
|
+
export { ensurePackages, interopDefault, isInEditorEnv, isInGitHooksOrLintStaged, isPackageInScope, parserPlain, renameRules };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import "node:path";
|
|
2
|
+
import "node:url";
|
|
3
|
+
import.meta.url;
|
|
4
|
+
import { findWorkspaceRootSafe } from "./find-workspace-root.mjs";
|
|
5
|
+
import { existsSync } from "node:fs";
|
|
6
|
+
import { join } from "node:path";
|
|
7
|
+
//#region src/utils/package-manager.ts
|
|
8
|
+
/**
|
|
9
|
+
* Detect the package manager used in the workspace.
|
|
10
|
+
*
|
|
11
|
+
* @returns "pnpm" | "bun" | "npm"
|
|
12
|
+
*/
|
|
13
|
+
function detectPackageManager() {
|
|
14
|
+
const workspaceRoot = findWorkspaceRootSafe() ?? process.cwd();
|
|
15
|
+
if (existsSync(join(workspaceRoot, "bun.lockb")) || existsSync(join(workspaceRoot, "bun.lock")) || existsSync(join(workspaceRoot, "bunfig.toml")) || existsSync(join(workspaceRoot, "bunfig.yml"))) return "bun";
|
|
16
|
+
if (existsSync(join(workspaceRoot, "pnpm-lock.yaml")) || existsSync(join(workspaceRoot, "pnpm-lock.yml")) || existsSync(join(workspaceRoot, "pnpm-workpace.yaml"))) return "pnpm";
|
|
17
|
+
return "npm";
|
|
18
|
+
}
|
|
19
|
+
//#endregion
|
|
20
|
+
export { detectPackageManager };
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import "node:path";
|
|
2
|
+
import "node:url";
|
|
3
|
+
import.meta.url;
|
|
4
|
+
import { joinPaths, relative } from "./correct-paths.mjs";
|
|
5
|
+
import { findWorkspaceRoot } from "./find-workspace-root.mjs";
|
|
6
|
+
import { existsSync, statSync } from "node:fs";
|
|
7
|
+
//#region src/utils/tsconfig.ts
|
|
8
|
+
/**
|
|
9
|
+
* Gets the path to the nearest tsconfig file by walking up from start path.
|
|
10
|
+
*
|
|
11
|
+
* The search order is as follows:
|
|
12
|
+
* 1. If `tsconfigPath` is provided and exists, it will be used.
|
|
13
|
+
* 2. If a tsconfig file is found in the current working directory, it will be used.
|
|
14
|
+
* 3. If a tsconfig file is found in the workspace root, it will be used.
|
|
15
|
+
* 4. If no tsconfig file is found, a warning will be logged and a default path will be returned based on the project type (app or lib).
|
|
16
|
+
*
|
|
17
|
+
* The function checks for the following tsconfig file names in order:
|
|
18
|
+
* - tsconfig.json
|
|
19
|
+
* - tsconfig.base.json
|
|
20
|
+
* - tsconfig.app.json
|
|
21
|
+
* - tsconfig.lib.json
|
|
22
|
+
* - tsconfig.eslint.json
|
|
23
|
+
* - tsconfig.lint.json
|
|
24
|
+
*
|
|
25
|
+
* @param tsconfigPath Optional path to a tsconfig file. If provided, it will be used if it exists.
|
|
26
|
+
* @param type The type of project (app or lib) to determine the default tsconfig file name if no tsconfig file is found. Default is "app".
|
|
27
|
+
* @returns The path to the nearest tsconfig file relative to the workspace root.
|
|
28
|
+
*/
|
|
29
|
+
function getTsConfigPath(tsconfigPath, type) {
|
|
30
|
+
const workspaceRoot = findWorkspaceRoot();
|
|
31
|
+
if (tsconfigPath && existsSync(tsconfigPath) && statSync(tsconfigPath).isFile()) return relative(workspaceRoot, tsconfigPath);
|
|
32
|
+
let result = checkTsConfigPath(process.cwd());
|
|
33
|
+
if (result) return relative(workspaceRoot, joinPaths(process.cwd(), result));
|
|
34
|
+
result = checkTsConfigPath(workspaceRoot);
|
|
35
|
+
if (result) return relative(workspaceRoot, joinPaths(workspaceRoot, result));
|
|
36
|
+
console.warn(`No tsconfig.json found${tsconfigPath ? ` provided: ${tsconfigPath}` : ""}. Consider adding a tsconfig.json file to your project's ESLint configuration.`);
|
|
37
|
+
return workspaceRoot?.replace(/\\/g, "/").replaceAll(/\/$/g, "") === process.cwd().replace(/\\/g, "/").replaceAll(/\/$/g, "") ? "tsconfig.base.json" : type ? `tsconfig.${type}.json` : "tsconfig.json";
|
|
38
|
+
}
|
|
39
|
+
function checkTsConfigPath(root) {
|
|
40
|
+
if (existsSync(joinPaths(root, "tsconfig.json"))) return "tsconfig.json";
|
|
41
|
+
else if (existsSync(joinPaths(root, "tsconfig.base.json"))) return "tsconfig.base.json";
|
|
42
|
+
else if (existsSync(joinPaths(root, "tsconfig.app.json"))) return "tsconfig.app.json";
|
|
43
|
+
else if (existsSync(joinPaths(root, "tsconfig.lib.json"))) return "tsconfig.lib.json";
|
|
44
|
+
else if (existsSync(joinPaths(root, "tsconfig.eslint.json"))) return "tsconfig.eslint.json";
|
|
45
|
+
else if (existsSync(joinPaths(root, "tsconfig.lint.json"))) return "tsconfig.lint.json";
|
|
46
|
+
}
|
|
47
|
+
//#endregion
|
|
48
|
+
export { checkTsConfigPath, getTsConfigPath };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/eslint",
|
|
3
|
-
"version": "0.170.
|
|
3
|
+
"version": "0.170.158",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A package containing the base ESLint configuration used by Storm Software across many projects.",
|
|
6
6
|
"keywords": [
|
|
@@ -89,14 +89,14 @@
|
|
|
89
89
|
"./configs/unocss": "./dist/configs/unocss.mjs",
|
|
90
90
|
"./configs/yaml": "./dist/configs/yaml.mjs",
|
|
91
91
|
"./configs/zod": "./dist/configs/zod.mjs",
|
|
92
|
-
"./find-workspace-root-D3UHWbgn": "./dist/find-workspace-root-D3UHWbgn.mjs",
|
|
93
|
-
"./helpers-mce_MNwt": "./dist/helpers-mce_MNwt.mjs",
|
|
94
92
|
"./plugins": "./dist/plugins.mjs",
|
|
95
|
-
"./plugins-CZWNS7l4": "./dist/plugins-CZWNS7l4.mjs",
|
|
96
93
|
"./preset": "./dist/preset.mjs",
|
|
97
|
-
"./preset-x6MId9-7": "./dist/preset-x6MId9-7.mjs",
|
|
98
|
-
"./rolldown-runtime-CMFfr-1z": "./dist/rolldown-runtime-CMFfr-1z.mjs",
|
|
99
94
|
"./types": "./dist/types.mjs",
|
|
95
|
+
"./utils/correct-paths": "./dist/utils/correct-paths.mjs",
|
|
96
|
+
"./utils/find-workspace-root": "./dist/utils/find-workspace-root.mjs",
|
|
97
|
+
"./utils/helpers": "./dist/utils/helpers.mjs",
|
|
98
|
+
"./utils/package-manager": "./dist/utils/package-manager.mjs",
|
|
99
|
+
"./utils/tsconfig": "./dist/utils/tsconfig.mjs",
|
|
100
100
|
"./*": "./*"
|
|
101
101
|
},
|
|
102
102
|
"types": "./dist/index.d.ts",
|
|
@@ -108,11 +108,11 @@
|
|
|
108
108
|
"@eslint/eslintrc": "^3.3.6",
|
|
109
109
|
"@eslint/markdown": "^6.6.0",
|
|
110
110
|
"@nx/eslint-plugin": "23.1.1",
|
|
111
|
-
"@storm-software/config": "1.138.
|
|
112
|
-
"@storm-software/config-tools": "1.190.
|
|
113
|
-
"@storm-software/eslint-plugin-banner": "0.0.
|
|
114
|
-
"@storm-software/eslint-plugin-tsdoc": "0.0.
|
|
115
|
-
"@storm-software/package-constants": "0.1.
|
|
111
|
+
"@storm-software/config": "1.138.61",
|
|
112
|
+
"@storm-software/config-tools": "1.190.124",
|
|
113
|
+
"@storm-software/eslint-plugin-banner": "0.0.89",
|
|
114
|
+
"@storm-software/eslint-plugin-tsdoc": "0.0.87",
|
|
115
|
+
"@storm-software/package-constants": "0.1.137",
|
|
116
116
|
"@stylistic/eslint-plugin": "^4.4.1",
|
|
117
117
|
"@typescript-eslint/eslint-plugin": "^8.66.0",
|
|
118
118
|
"@typescript-eslint/parser": "^8.66.0",
|
|
@@ -168,9 +168,9 @@
|
|
|
168
168
|
"@next/eslint-plugin-next": "^15.5.23",
|
|
169
169
|
"@nx/eslint": "23.1.1",
|
|
170
170
|
"@prettier/plugin-xml": "^3.4.2",
|
|
171
|
-
"@storm-software/eslint-plugin-bun": "0.0.
|
|
172
|
-
"@storm-software/eslint-plugin-pnpm": "0.0.
|
|
173
|
-
"@storm-software/tsdoc": "0.13.
|
|
171
|
+
"@storm-software/eslint-plugin-bun": "0.0.12",
|
|
172
|
+
"@storm-software/eslint-plugin-pnpm": "0.0.87",
|
|
173
|
+
"@storm-software/tsdoc": "0.13.277",
|
|
174
174
|
"@stylistic/eslint-plugin-migrate": "^4.4.1",
|
|
175
175
|
"@types/eslint": "^9.6.1",
|
|
176
176
|
"@types/eslint__js": "^8.42.3",
|
|
@@ -268,5 +268,5 @@
|
|
|
268
268
|
"zod": { "optional": true }
|
|
269
269
|
},
|
|
270
270
|
"publishConfig": { "access": "public" },
|
|
271
|
-
"gitHead": "
|
|
271
|
+
"gitHead": "88e28b2c74d1a37c7f613a2e4cb0bbfb20f785aa"
|
|
272
272
|
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { I as TypedFlatConfigItem, T as OptionsStylistic, c as OptionsFiles, y as OptionsOverrides } from "./types-XIthLTox.mjs";
|
|
2
|
-
//#region src/configs/astro.d.ts
|
|
3
|
-
declare function astro(options?: OptionsOverrides & OptionsStylistic & OptionsFiles): Promise<TypedFlatConfigItem[]>;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { astro as t };
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { I as TypedFlatConfigItem, f as OptionsIsInEditor, r as OptionsBanner, y as OptionsOverrides } from "./types-XIthLTox.mjs";
|
|
2
|
-
//#region src/configs/banner.d.ts
|
|
3
|
-
declare function banner(options?: Partial<OptionsBanner> & OptionsIsInEditor & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { banner as t };
|
package/dist/bun-OJPLvfnX.d.mts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { I as TypedFlatConfigItem, a as OptionsCSpell } from "./types-XIthLTox.mjs";
|
|
2
|
-
//#region src/configs/cspell.d.ts
|
|
3
|
-
/**
|
|
4
|
-
* Config for CSpell spell checking
|
|
5
|
-
*/
|
|
6
|
-
declare function cspell(options?: OptionsCSpell): Promise<TypedFlatConfigItem[]>;
|
|
7
|
-
//#endregion
|
|
8
|
-
export { cspell as t };
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { F as StylisticConfig, I as TypedFlatConfigItem, l as OptionsFormatters } from "./types-XIthLTox.mjs";
|
|
2
|
-
//#region src/configs/formatters.d.ts
|
|
3
|
-
declare function formatters(options?: OptionsFormatters | true, stylistic?: StylisticConfig): Promise<TypedFlatConfigItem[]>;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { formatters as t };
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { I as TypedFlatConfigItem, f as OptionsIsInEditor, m as OptionsJavascript, y as OptionsOverrides } from "./types-XIthLTox.mjs";
|
|
2
|
-
//#region src/configs/javascript.d.ts
|
|
3
|
-
declare function javascript(options?: Partial<OptionsJavascript> & OptionsIsInEditor & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { javascript as t };
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { I as TypedFlatConfigItem, T as OptionsStylistic, c as OptionsFiles, y as OptionsOverrides } from "./types-XIthLTox.mjs";
|
|
2
|
-
//#region src/configs/jsonc.d.ts
|
|
3
|
-
declare function jsonc(options?: OptionsFiles & OptionsStylistic & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { jsonc as t };
|
package/dist/jsx-DzqEJSYd.d.mts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { I as TypedFlatConfigItem, c as OptionsFiles, o as OptionsComponentExts, y as OptionsOverrides } from "./types-XIthLTox.mjs";
|
|
2
|
-
//#region src/configs/markdown.d.ts
|
|
3
|
-
declare function markdown(options?: OptionsFiles & OptionsComponentExts & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { markdown as t };
|
package/dist/mdx-CDEhveb1.d.mts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { I as TypedFlatConfigItem, c as OptionsFiles, o as OptionsComponentExts, y as OptionsOverrides } from "./types-XIthLTox.mjs";
|
|
2
|
-
//#region src/configs/mdx.d.ts
|
|
3
|
-
declare function mdx(options?: OptionsFiles & OptionsComponentExts & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { mdx as t };
|
package/dist/next-DGhspeMc.d.mts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { I as TypedFlatConfigItem, h as OptionsNext } from "./types-XIthLTox.mjs";
|
|
2
|
-
//#region src/configs/next.d.ts
|
|
3
|
-
/**
|
|
4
|
-
* Config for Next.js projects.
|
|
5
|
-
*/
|
|
6
|
-
declare function next(options?: OptionsNext): Promise<TypedFlatConfigItem[]>;
|
|
7
|
-
//#endregion
|
|
8
|
-
export { next as t };
|
package/dist/node-CQgsZ8nv.d.mts
DELETED
package/dist/nx-CLRc6QRM.d.mts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { I as TypedFlatConfigItem } from "./types-XIthLTox.mjs";
|
|
2
|
-
//#region src/configs/perfectionist.d.ts
|
|
3
|
-
/**
|
|
4
|
-
* Perfectionist plugin for props and items sorting.
|
|
5
|
-
*
|
|
6
|
-
* @see https://github.com/azat-io/eslint-plugin-perfectionist
|
|
7
|
-
*/
|
|
8
|
-
declare function perfectionist(): Promise<TypedFlatConfigItem[]>;
|
|
9
|
-
//#endregion
|
|
10
|
-
export { perfectionist as t };
|