aislop 0.10.1 → 0.11.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/README.md +187 -57
- package/dist/cli.js +2748 -989
- package/dist/{expo-doctor-T4DswmX5.js → expo-doctor-BM2JR6f6.js} +1 -1
- package/dist/{expo-doctor-BcIkOte5.js → expo-doctor-BwLKXF__.js} +1 -1
- package/dist/finding-assessment-PCl1fnok.js +149 -0
- package/dist/index.d.ts +20 -3
- package/dist/index.js +3537 -2410
- package/dist/{json-Bqkcl1DF.js → json-0lJPTrwO.js} +10 -6
- package/dist/{json-OIzja7OM.js → json-pHsqtKkz.js} +9 -5
- package/dist/mcp.js +1172 -646
- package/dist/{sarif-C-vh4wcC.js → sarif-BXUicqQU.js} +1 -1
- package/dist/{sarif-CZVuavf_.js → sarif-CjxSBcqx.js} +1 -1
- package/dist/{typecheck-wVSohmOX.js → typecheck-yOGXIIGU.js} +1 -1
- package/dist/version-BJA3AcRM.js +7 -0
- package/package.json +8 -11
- package/dist/engine-info-DCvIfZ0f.js +0 -31
- package/dist/version-rlhQD8Qh.js +0 -5
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aislop",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "Catch the slop AI coding agents leave in your code: narrative comments, swallowed exceptions, as-any casts, dead code, oversized functions.
|
|
3
|
+
"version": "0.11.0",
|
|
4
|
+
"description": "Catch the slop AI coding agents leave in your code: narrative comments, swallowed exceptions, as-any casts, dead code, oversized functions. 50+ rules across 8 language targets (TypeScript, JavaScript, Expo / React Native, Python, Go, Rust, Ruby, PHP). Sub-second, deterministic, no LLM at runtime. MIT-licensed.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
7
|
"aislop": "./dist/cli.js",
|
|
@@ -49,9 +49,12 @@
|
|
|
49
49
|
"ruby",
|
|
50
50
|
"php"
|
|
51
51
|
],
|
|
52
|
-
"author":
|
|
52
|
+
"author": {
|
|
53
|
+
"name": "Kenny Olawuwo",
|
|
54
|
+
"url": "https://scanaislop.com"
|
|
55
|
+
},
|
|
53
56
|
"license": "MIT",
|
|
54
|
-
"homepage": "https://
|
|
57
|
+
"homepage": "https://scanaislop.com",
|
|
55
58
|
"repository": {
|
|
56
59
|
"type": "git",
|
|
57
60
|
"url": "git+https://github.com/scanaislop/aislop.git"
|
|
@@ -84,12 +87,6 @@
|
|
|
84
87
|
"@types/micromatch": "^4.0.10",
|
|
85
88
|
"@types/node": "^25.6.0",
|
|
86
89
|
"tsdown": "^0.20.3",
|
|
87
|
-
"vitest": "^4.
|
|
88
|
-
},
|
|
89
|
-
"pnpm": {
|
|
90
|
-
"overrides": {
|
|
91
|
-
"postcss@<8.5.10": "^8.5.10",
|
|
92
|
-
"qs@>=6.11.1 <=6.15.1": "^6.15.2"
|
|
93
|
-
}
|
|
90
|
+
"vitest": "^4.1.8"
|
|
94
91
|
}
|
|
95
92
|
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
//#region src/output/engine-info.ts
|
|
2
|
-
const ENGINE_INFO = {
|
|
3
|
-
format: {
|
|
4
|
-
label: "Formatting",
|
|
5
|
-
description: "Whitespace, indentation, line wrapping, and import ordering"
|
|
6
|
-
},
|
|
7
|
-
lint: {
|
|
8
|
-
label: "Linting",
|
|
9
|
-
description: "Static analysis for likely bugs and bad patterns"
|
|
10
|
-
},
|
|
11
|
-
"code-quality": {
|
|
12
|
-
label: "Code Quality",
|
|
13
|
-
description: "Complexity limits, dead code detection, and duplication checks"
|
|
14
|
-
},
|
|
15
|
-
"ai-slop": {
|
|
16
|
-
label: "AI Slop",
|
|
17
|
-
description: "Narrative comments, dead patterns, unsafe type casts, TODO stubs, generic names"
|
|
18
|
-
},
|
|
19
|
-
architecture: {
|
|
20
|
-
label: "Architecture",
|
|
21
|
-
description: "Project-specific import and layering rules"
|
|
22
|
-
},
|
|
23
|
-
security: {
|
|
24
|
-
label: "Security",
|
|
25
|
-
description: "Secret leaks, risky APIs, and dependency vulnerabilities"
|
|
26
|
-
}
|
|
27
|
-
};
|
|
28
|
-
const getEngineLabel = (engine) => ENGINE_INFO[engine].label;
|
|
29
|
-
|
|
30
|
-
//#endregion
|
|
31
|
-
export { getEngineLabel as n, ENGINE_INFO as t };
|