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.
@@ -1,5 +1,5 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { n as runSubprocess } from "./subprocess-CQUJDGgn.js";
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-CQUJDGgn.js";
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";