aislop 0.10.0 → 0.10.2
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 +56 -8
- package/dist/cli.js +1145 -631
- package/dist/{expo-doctor-BcIkOte5.js → expo-doctor-c-jE6pR2.js} +1 -1
- package/dist/{generic-D_T4cUaC.js → generic-BsQa13CS.js} +1 -1
- package/dist/index.d.ts +10 -1
- package/dist/index.js +3094 -2664
- package/dist/{json-DaFOYHcf.js → json-B01i-GOz.js} +7 -5
- package/dist/{json-OIzja7OM.js → json-CXV4D0Ib.js} +5 -3
- package/dist/mcp.js +656 -470
- package/dist/{sarif-BtSQ92c6.js → sarif-cy5SiDDq.js} +1 -1
- package/dist/{typecheck-DQSzG8fX.js → typecheck-BdQ7uFyK.js} +1 -1
- package/dist/version-BfJVwhN2.js +5 -0
- package/package.json +8 -11
- package/dist/version-DYg_ShBx.js +0 -5
- /package/dist/{engine-info-DCvIfZ0f.js → engine-info-Cpt36DqZ.js} +0 -0
- /package/dist/{subprocess-CQUJDGgn.js → subprocess-0uXz8HdE.js} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { n as runSubprocess } from "./subprocess-
|
|
2
|
+
import { n as runSubprocess } from "./subprocess-0uXz8HdE.js";
|
|
3
3
|
import { createRequire } from "node:module";
|
|
4
4
|
import fs from "node:fs";
|
|
5
5
|
import path from "node:path";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { n as runSubprocess } from "./subprocess-
|
|
2
|
+
import { n as runSubprocess } from "./subprocess-0uXz8HdE.js";
|
|
3
3
|
|
|
4
4
|
//#region src/engines/lint/generic.ts
|
|
5
5
|
var generic_exports = /* @__PURE__ */ __exportAll({
|
package/dist/index.d.ts
CHANGED
|
@@ -87,6 +87,8 @@ interface RailStep {
|
|
|
87
87
|
interface FixOptions {
|
|
88
88
|
verbose: boolean;
|
|
89
89
|
force?: boolean;
|
|
90
|
+
/** Restrict to reversible fixes only (imports, comment removal, formatting) */
|
|
91
|
+
safe?: boolean;
|
|
90
92
|
/** Agent CLI to launch with remaining issues (e.g. "claude", "codex") */
|
|
91
93
|
agent?: string;
|
|
92
94
|
/** Print the prompt to stdout instead of launching an agent */
|
|
@@ -131,15 +133,22 @@ declare const rulesCommand: (directory: string, options?: RulesOptions) => Promi
|
|
|
131
133
|
//#region src/utils/discover.d.ts
|
|
132
134
|
type Language = "typescript" | "javascript" | "python" | "go" | "rust" | "java" | "ruby" | "php";
|
|
133
135
|
type Framework = "nextjs" | "react" | "vite" | "remix" | "expo" | "astro" | "django" | "flask" | "fastapi" | "none";
|
|
136
|
+
interface Coverage {
|
|
137
|
+
supportedFiles: number;
|
|
138
|
+
unsupportedFiles: number;
|
|
139
|
+
dominantUnsupported: string | null;
|
|
140
|
+
scoreable: boolean;
|
|
141
|
+
}
|
|
134
142
|
interface ProjectInfo {
|
|
135
143
|
rootDirectory: string;
|
|
136
144
|
projectName: string;
|
|
137
145
|
languages: Language[];
|
|
138
146
|
frameworks: Framework[];
|
|
139
147
|
sourceFileCount: number;
|
|
148
|
+
coverage: Coverage;
|
|
140
149
|
installedTools: Record<string, boolean>;
|
|
141
150
|
}
|
|
142
|
-
declare const discoverProject: (directory: string) => Promise<ProjectInfo>;
|
|
151
|
+
declare const discoverProject: (directory: string, excludePatterns?: string[]) => Promise<ProjectInfo>;
|
|
143
152
|
//#endregion
|
|
144
153
|
//#region src/engines/types.d.ts
|
|
145
154
|
type Severity = "error" | "warning" | "info";
|