package
Version:
v0.31.0
Opens a new window with list of versions in this module.
Published: Aug 8, 2021
License: MPL-2.0
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
Formatter outputs appropriate results to stdout and stderr depending on the format
Print outputs the given issues and errors according to configured format
type JSONError struct {
Message string `json:"message"`
}
JSONError is a temporary structure for converting TFLint errors to JSON.
JSONIssue is a temporary structure for converting TFLint issues to JSON.
type JSONOutput struct {
Issues []JSONIssue `json:"issues"`
Errors []JSONError `json:"errors"`
}
JSONOutput is a temporary structure for converting to JSON.
type JSONPos struct {
Line int `json:"line"`
Column int `json:"column"`
}
JSONPos is a temporary structure for converting positions to JSON.
type JSONRange struct {
Filename string `json:"filename"`
Start JSONPos `json:"start"`
End JSONPos `json:"end"`
}
JSONRange is a temporary structure for converting ranges to JSON.
type JSONRule struct {
Name string `json:"name"`
Severity string `json:"severity"`
Link string `json:"link"`
}
JSONRule is a temporary structure for converting TFLint rules to JSON.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.