node.js 15 --> replaceall ok_hcl_packer_col_info_error.pkr.hcl parsing line info early and missing actual line/col info because validate now displays incorrect line number before correct line number saving in file with issue shows extra display info line with superfluous info; saving in other file in config dir has no such extra display line; similarly true issue line uses other file in dir erroneously do not bail out early on pkrvars file after fmt if config option to lint dir is enabled similar to tf error on fmt effort: improve warn to only display non-config file issues? improve warn to only trigger when all issues derive from only non-config files?
- Enable auto-formatting for Packer input variable files (
.pkrvars.hcl
). - Warn on automatic formatting errors returned for non-config/template Packer files.
- Minimum Packer version incremented to 1.7.0.
- Properly capture warning severity.
- Avoid appending information prior to capturing file and line information.
- Capture error messages ending in a
"
character. - Add
envVars
config option. - Add undeclared variable warning config option.
- Capture rare error messages with leading asterisk character.
- Capture other info when output file info is an empty string.
- Fix message excepts when ends with
]
.
- Fix undefined variable in current file formatting logic.
- Capture and display column information for message if available.
- Fix message excerpts when
.
in message or ends with?
.
- Additional comma and newline message replacements to improve display message.
- Retain severity between output iterations due to Packer output behavior.
- Provide message attribute defaults if no info from Packer.
- Ignore new Packer message for valid configurations.
- Deprecate JSON template support.
- Add recursive and current file format options to package config.
- Use severity output instead of message for severity parsing.
- Improve severity parsing.
- Replace newline characters in message with whitespace.
- Updates to Linter API usage.
- Improve description quality of displayed issue message.
- Fix return on stdin lint errors.
- Minimum Packer version incremented to 1.6.0.
- Iterate on double newlines instead of single (accuracy/efficiency).
- Capture and display file name with issue instead of open file.
- Remove JSON error generic notification.
- Add auto-formatting config option.
- Add config option to lint directory.
- Only recognize proper extensions for Packer templates.
- Preliminary support for 1.6 validation output format.
- Fix machine readable carriage return split.
- Display warning if Packer template is HCL syntax, but Packer version is 1.5.x.
- Improve detection for Packer templates versus other JSON and HCL.
- Detect if JSON template has incorrect extension and display info.
- Add beta support for HCL language.
- Recognize Packer templates with other valid JSON formats.
- Add config option to only check syntax and not template config.
- Updated
atom-linter
dependency. - Catch linting on nonexistent files.
- Substitute escaped
%!(PACKER_COMMA)
output with actual comma. - Fix inaccurate cached builder info between lints.
- Add
cwd
to execution so provisioner files are found during validation.
- Switched to using Linter v2 API.
- Multiple errors for same builder now each display builder info.
- Removed
atom-package-deps
dependency and functionality.
- Fixed message display for multiple issues per builder.
- Fixed undefined return for non-Packer JSON files.
- Initial version ready for wide usage.