@codacy/tools-jackson
v0.2.0
Published
Jackson Linter adapter — pure TypeScript JSON syntax validator
Readme
@codacy/tools-jackson
Table of Contents
Overview
Pure TypeScript JSON syntax validator using Node's built-in JSON.parse. Detects parse errors and duplicate keys in JSON files. No external binary required.
| Property | Value |
|----------|-------|
| Tool ID | jackson |
| Codacy UUID | 4f94ee55-6b76-4765-8f38-9ebb3920762b |
| Strategy | Native |
| Languages | JSON |
| Binary | None — pure TypeScript |
Patterns
| Pattern ID | Description |
|------------|-------------|
| jackson_parse-error | JSON syntax error |
| jackson_duplicate-keys | Duplicate keys in JSON object |
Updating patterns
# Re-fetch pattern metadata from the Codacy API
pnpm prefetch
# Verify the output
cat src/patterns.jsonThe prefetch script calls packages/tools/scripts/fetch-patterns.mjs with the tool UUID to download pattern metadata (IDs, categories, severity levels) from the Codacy API.
After fetching, commit the updated src/patterns.json.
Development
pnpm build # Build with tsup
pnpm test # Run testsSince this is a Native adapter, no external binary is needed. All analysis is done in TypeScript.
