@titan-design/style-checker 0.3.0 → 0.3.1

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 +9 -0
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -52,6 +52,15 @@ const { diagnostics, failures, skippedRules, summary } = await orchestrate({
52
52
  (`"code": "invalid-syntax"` in ruff 0.16.8, a null `code` in 0.9.10) are not
53
53
  diagnostics; the runners report them as `file-not-checked` failures.
54
54
  - `formatDiagnostic(d)` prints `file:line:column severity message [category.rule]`.
55
+ - Python audit runners, independent of any profile: `runRuffAudit` (the pinned
56
+ `AUDIT_RUFF_RULES` selection from `generateRuffAuditConfig()`), `runVultureAudit`
57
+ (dead code, rule `vulture/<kind>`), `runPydoclintAudit` (docstring drift, rule
58
+ `pydoclint/DOCnnn`), `runPyrightAudit` (four `reportUnnecessary*` checks under a
59
+ temporary config from `generatePyrightAuditConfig`), and `runImportLinter` (only when
60
+ the repo configures import-linter). `countSuppressions`, `findSuppressions` and
61
+ `suppressionTotals` count `# noqa` and `# type: ignore` markers by text scan. A runner
62
+ whose binary is absent returns an empty result with a warning naming its `pip install`
63
+ command, and never throws for it. The reference page lists each runner's options.
55
64
  - `diffAgainstProfile(profile, observations)` compares each observation's value with the
56
65
  profile's convention for its `type` and returns `{ deviations, summary }`. Observations
57
66
  whose type has no profile rule count toward `total` but neither match nor deviate.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@titan-design/style-checker",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "Run external lint tools (ruff, ESLint) against configs generated from a style profile, normalize their output into one diagnostic shape, and diff observations against a profile",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -31,8 +31,8 @@
31
31
  "access": "public"
32
32
  },
33
33
  "dependencies": {
34
- "@titan-design/style-analyzer": "^0.1.0",
35
- "@titan-design/style-profile": "^0.1.0"
34
+ "@titan-design/style-analyzer": "^0.1.1",
35
+ "@titan-design/style-profile": "^0.2.0"
36
36
  },
37
37
  "peerDependencies": {
38
38
  "zod": "^4.0.0"