You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A TFLint configuration is implicitly associated with a specific version of TFLint as well as plugin versions. The configuration schema depends on TFLint and the rule blocks depend on plugin versions. Since the configuration specifies plugin versions, this relationship well-encapsulated for plugins. However, there's no explicit relationship between the generic TFLint CLI config and the running CLI.
We could adopt a syntax/feature similar to required_version in Terraform so that a configuration is able to specify the TFLint versions with which it's compatible. When TFLint loads the configuration, it should first examine the required version. If the constraint is not satisfied, TFLint would exit early rather than potentially encounter schema errors when attempting to parse the remainder of the structure. If the constraint is satisfied (or omitted), TFLint would proceed as it does today.
The text was updated successfully, but these errors were encountered:
A TFLint configuration is implicitly associated with a specific version of TFLint as well as plugin versions. The configuration schema depends on TFLint and the
rule
blocks depend on plugin versions. Since the configuration specifies plugin versions, this relationship well-encapsulated for plugins. However, there's no explicit relationship between the generic TFLint CLI config and the running CLI.We could adopt a syntax/feature similar to
required_version
in Terraform so that a configuration is able to specify the TFLint versions with which it's compatible. When TFLint loads the configuration, it should first examine the required version. If the constraint is not satisfied, TFLint would exit early rather than potentially encounter schema errors when attempting to parse the remainder of the structure. If the constraint is satisfied (or omitted), TFLint would proceed as it does today.The text was updated successfully, but these errors were encountered: