{"id":25062,"library":"cfn-lint-to-codeframe","title":"cfn-lint-to-codeframe","description":"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.","status":"active","version":"1.0.6","language":"javascript","source_language":"en","source_url":"https://github.com/Graham42/cfn-lint-to-codeframe","tags":["javascript","AWS","CloudFormation","linter"],"install":[{"cmd":"npm install cfn-lint-to-codeframe","lang":"bash","label":"npm"},{"cmd":"yarn add cfn-lint-to-codeframe","lang":"bash","label":"yarn"},{"cmd":"pnpm add cfn-lint-to-codeframe","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Input source; tool processes cfn-lint's parseable output","package":"cfn-lint","optional":false}],"imports":[{"note":"Used via command line, not programmatic import","wrong":"Not a library; CLI only","symbol":"default","correct":"npx cfn-lint-to-codeframe or global install"}],"quickstart":{"code":"cfn-lint --template my-template.json --format parseable | npx cfn-lint-to-codeframe","lang":"javascript","description":"Pipes cfn-lint parseable output to cfn-lint-to-codeframe for pretty-printed code frames."},"warnings":[{"fix":"Use: cfn-lint --template <file> --format parseable | cfn-lint-to-codeframe","message":"Must pass --format parseable to cfn-lint, otherwise input format is incorrect and output will be garbage or error.","severity":"gotcha","affected_versions":">=0.0.0"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Ensure cfn-lint is run with --format parseable and produces output","cause":"cfn-lint output not in parseable format or empty","error":"Error: Could not parse cfn-lint output"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}