@santi020k/eslint-config-basic 1.6.0 → 2.0.0-beta.0
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/CHANGELOG.md +133 -1
- package/README.md +4 -22
- package/dist/agent-skill-generator.d.ts +42 -20
- package/dist/agent-skill-generator.js +375 -198
- package/dist/cli.d.ts +22 -0
- package/dist/cli.js +603 -38
- package/dist/compose.d.ts +4 -2
- package/dist/compose.js +19 -8
- package/dist/frameworks.d.ts +58 -0
- package/dist/frameworks.js +106 -0
- package/dist/index.d.ts +11 -6
- package/dist/index.js +703 -104
- package/dist/integrations.d.ts +1 -0
- package/dist/integrations.js +5 -0
- package/dist/lazy.d.ts +3 -0
- package/dist/lazy.js +19 -0
- package/dist/resolvers.d.ts +5 -2
- package/dist/resolvers.js +60 -23
- package/package.json +46 -64
- package/dist/optionals.d.ts +0 -13
- package/dist/optionals.js +0 -71
package/dist/cli.d.ts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
declare const handleInit: (cwd?: string, check?: boolean) => void;
|
|
2
|
+
declare const handleUpdate: (cwd?: string) => void;
|
|
3
|
+
declare const handleExplain: (cwd?: string, json?: boolean) => void;
|
|
4
|
+
declare const handleInspect: (cwd?: string, json?: boolean) => Promise<void>;
|
|
5
|
+
interface DuplicateEslintInfo {
|
|
6
|
+
configVersion: string;
|
|
7
|
+
projectVersion: string;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Detects whether the project and the config packages resolve two different
|
|
11
|
+
* physical copies of ESLint (e.g. a project pinning an older ESLint while the
|
|
12
|
+
* config packages resolve their own ESLint 10 dependency). Only ESLint 10 is
|
|
13
|
+
* supported; two parallel copies can also apply subtly different rule behavior
|
|
14
|
+
* between editor and CLI.
|
|
15
|
+
*/
|
|
16
|
+
declare const findDuplicateEslint: (cwd?: string) => DuplicateEslintInfo | null;
|
|
17
|
+
declare const handleDoctor: (cwd?: string, json?: boolean, liteInstall?: boolean) => Promise<void>;
|
|
18
|
+
declare const handleDocs: (cwd?: string) => void;
|
|
19
|
+
declare const handleMigrate: (cwd?: string, write?: boolean, json?: boolean) => void;
|
|
20
|
+
declare const runCli: (argv?: string[], cwd?: string) => void;
|
|
21
|
+
|
|
22
|
+
export { findDuplicateEslint, handleDocs, handleDoctor, handleExplain, handleInit, handleInspect, handleMigrate, handleUpdate, runCli };
|