slop-police 0.3.5 → 0.3.6

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.
Files changed (2) hide show
  1. package/README.md +2 -0
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -48,6 +48,8 @@ slop-police reads `slop-police.json` from the current directory:
48
48
 
49
49
  Exit code is `1` when there are errors, `2` for an invalid config, `0` otherwise.
50
50
 
51
+ slop-police needs your dependencies installed: without their types it can't tell where a method or key is used. When imports in the analyzed files don't resolve (and no `declare module` covers them), it lists them and exits with `1` without linting. Side-effect imports like `import "./styles.css"` don't count.
52
+
51
53
  ## Rules
52
54
 
53
55
  ### unused-methods
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "slop-police",
3
- "version": "0.3.5",
3
+ "version": "0.3.6",
4
4
  "description": "Type-aware TypeScript linter for the dead code and needless indirection AI agents leave behind",
5
5
  "keywords": [
6
6
  "typescript",
@@ -41,9 +41,9 @@
41
41
  "node": ">=22.18"
42
42
  },
43
43
  "optionalDependencies": {
44
- "slop-police-darwin-arm64": "0.3.5",
45
- "slop-police-darwin-x64": "0.3.5",
46
- "slop-police-linux-arm64": "0.3.5",
47
- "slop-police-linux-x64": "0.3.5"
44
+ "slop-police-darwin-arm64": "0.3.6",
45
+ "slop-police-darwin-x64": "0.3.6",
46
+ "slop-police-linux-arm64": "0.3.6",
47
+ "slop-police-linux-x64": "0.3.6"
48
48
  }
49
49
  }