aislop 0.2.1 → 0.3.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 +3 -1
- package/dist/cli.js +669 -92
- package/dist/{engine-info-DFze-2GQ.js → engine-info-CXT2Q_Jy.js} +1 -1
- package/dist/{expo-doctor-CGXGLgMJ.js → expo-doctor-Cm5892Y8.js} +76 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2971 -2536
- package/dist/{json-Ci_gvHLS.js → json-C52xnH_4.js} +1 -1
- package/package.json +1 -1
- package/dist/expo-doctor-vDz4kh9-.js +0 -127
- package/dist/subprocess-99puEEGl.js +0 -59
package/README.md
CHANGED
|
@@ -38,7 +38,7 @@ npx aislop ci
|
|
|
38
38
|
Sample output:
|
|
39
39
|
|
|
40
40
|
```text
|
|
41
|
-
aislop scan v0.2.
|
|
41
|
+
aislop scan v0.2.1
|
|
42
42
|
|
|
43
43
|
✓ Project my-app (typescript)
|
|
44
44
|
Source files: 142
|
|
@@ -68,6 +68,7 @@ AI-generated changes often pass review because problems are spread across many f
|
|
|
68
68
|
|
|
69
69
|
- **One command, full picture**: formatting + lint + maintainability + AI slop + security (+ architecture)
|
|
70
70
|
- **Score-based quality gate**: use a single 0-100 score in CI and PR checks
|
|
71
|
+
- **AI-slop-first scoring**: defaults weight AI-pattern findings more than generic style noise
|
|
71
72
|
- **Auto-fix support**: remove unused imports, apply lint suggestions, and format in one pass
|
|
72
73
|
- **Duplication visibility**: flag repeated blocks and encourage extraction into shared modules
|
|
73
74
|
- **Software engineering best practices**: enforce function/file size limits, nesting limits, dead code cleanup, and safer patterns
|
|
@@ -130,6 +131,7 @@ aislop scan --json # output JSON
|
|
|
130
131
|
|
|
131
132
|
```bash
|
|
132
133
|
aislop fix # auto-fix unused imports, formatting, and lint fixes
|
|
134
|
+
aislop fix --force # aggressive mode: dependency audit + Expo alignment
|
|
133
135
|
```
|
|
134
136
|
|
|
135
137
|
### Use in CI pipelines
|