-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Puppet-Lint warnings/errors show as hints #189
Labels
bug
Something isn't working
Comments
Hrmmm ..... restarting the Language Sever "fixed it". More investigation required... |
Might be triggered Ctrl-Zing after doing a Format-Document command ... |
Closing as need more context or information to scope work |
Found the problem. PuppetLint.configuration.fix doesn't get reset to |
glennsarti
added a commit
to glennsarti/puppet-editor-services
that referenced
this issue
Dec 30, 2020
Previously after a call to fix_validation_errors, many validation errors came in as hints not errors. This was due to PuppetLint not resetting the `PuppetLint.configuration.fix` setting between calls. This commit updates the validation provider to reset this setting each call. This commit also adds tests for this scenario.
glennsarti
added a commit
to glennsarti/puppet-editor-services
that referenced
this issue
Jan 6, 2021
Previously after a call to fix_validation_errors, many validation errors came in as hints not errors. This was due to PuppetLint not resetting the `PuppetLint.configuration.fix` setting between calls. This commit updates the validation provider to reset this setting each call. This commit also adds tests for this scenario.
jpogran
added a commit
that referenced
this issue
Jan 6, 2021
(GH-189) Reset PuppetLint configuration for each call
glennsarti
added a commit
to glennsarti/puppet-editor-services
that referenced
this issue
Jan 19, 2021
Previously in commit c70511b validation was changed to initialise Puppet Lint correctly, however there was a typo in the provider. This commit fixes the typo and references the correct variable.
jpogran
added a commit
that referenced
this issue
Jan 25, 2021
(GH-189) Fix module root for validation
scoiatael
pushed a commit
to scoiatael/puppet-editor-services
that referenced
this issue
Jan 14, 2022
Previously after a call to fix_validation_errors, many validation errors came in as hints not errors. This was due to PuppetLint not resetting the `PuppetLint.configuration.fix` setting between calls. This commit updates the validation provider to reset this setting each call. This commit also adds tests for this scenario.
scoiatael
pushed a commit
to scoiatael/puppet-editor-services
that referenced
this issue
Jan 14, 2022
Previously in commit c70511b validation was changed to initialise Puppet Lint correctly, however there was a typo in the provider. This commit fixes the typo and references the correct variable.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using the following manifest
The puppet-lint checks do not show correctly
The Language Server debug log shows:
The "missing" checks are being sent as Severity 4 (i.e. a Hint), not a warning or error.
It appears something has changed in puppet-lint for https://github.com/lingua-pupuli/puppet-editor-services/blob/78bb4b108ed70b72ae48c08b56232579af36b92b/lib/puppet-languageserver/manifest/validation_provider.rb#L64-L71
The text was updated successfully, but these errors were encountered: