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
* add SARIF support
* SARIF base path uri should end with `/`
* Use better sample data in SARIF template
* Add help_uri and description to SARIF output
* update example values in sarif template
* continue-on-error: true
* use STDERR.put for warnings
* remove clean step* use Pathname.new
* use delete_if* remove not needed strategy matrix
* fix rule index
* upgrade to use upload-sarif@v2 instead of upload-sarif@v1
* removed example scan.yml
new_rule['fullDescription']={'text'=>'Check for any syntax error and record an error of each instance found.'}ifnew_rule['fullDescription'].nil? && message[:check] == :syntax
Copy file name to clipboardExpand all lines: lib/puppet-lint/plugins/check_classes/autoloader_layout.rb
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -25,9 +25,11 @@ def check
25
25
26
26
notify(
27
27
:error,
28
-
:message=>"#{title_token.value} not in autoload module layout",
29
-
:line=>title_token.line,
30
-
:column=>title_token.column
28
+
:message=>"#{title_token.value} not in autoload module layout",
29
+
:line=>title_token.line,
30
+
:column=>title_token.column,
31
+
:description=>'Test the manifest tokens for any classes or defined types that are not in an appropriately named file for the autoloader to detect and record an error of each instance found.',
0 commit comments