Registry / devops / cfn-lint-to-codeframe

cfn-lint-to-codeframe

JSON →
library1.0.6jsnpmunverified

A CLI tool that converts the parseable output from cfn-lint (the Python AWS CloudFormation linter) into a human-friendly, code-frame style error display. Current version 1.0.6 takes stdin from cfn-lint's --format parseable output and reformats it with line-by-line context. Regular patch releases fix edge cases like multi-line messages and JSON parse errors. Simpler than using cfn-lint's own formatter, especially for CI pipelines.

npm install cfn-lint-to-codeframe
INSTALL
IMPORT
SIG · CFN-LINT-TO-CODEFR
C
cfn-lint-to-codeframe
devopsjavascriptv1.0.6
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

default
npx cfn-lint-to-codeframe or global install
Not a library; CLI only
Used via command line, not programmatic import

Pipes cfn-lint parseable output to cfn-lint-to-codeframe for pretty-printed code frames.

cfn-lint --template my-template.json --format parseable | npx cfn-lint-to-codeframe
cfn-lint-to-codeframe --version
Debug
Known issues
gotchaMust pass --format parseable to cfn-lint, otherwise input format is incorrect and output will be garbage or error.
fix
Use: cfn-lint --template <file> --format parseable | cfn-lint-to-codeframe
affects: >=0.0.0
Errors
Common errors & fixes
Error: Could not parse cfn-lint output
cfn-lint output not in parseable format or empty
fix
Ensure cfn-lint is run with --format parseable and produces output
Upgrade
Version history
1.0.6latest on npm
Audit
Dependencies
cfn-lintrequiredInput source; tool processes cfn-lint's parseable output
Agent activity
6 hits · last 30 days
node
6
Resources
cfn-lint-to-codeframe — npm install cfn-lint-to-codeframe · libregistry