Closed Kevsy closed 6 months ago
Descriptor | Linter | Files | Fixed | Errors | Elapsed time |
---|---|---|---|---|---|
✅ ACTION | actionlint | 2 | 0 | 0.03s | |
✅ JSON | eslint-plugin-jsonc | 1 | 0 | 0 | 1.41s |
✅ JSON | jsonlint | 1 | 0 | 0.18s | |
✅ JSON | prettier | 1 | 1 | 0 | 0.94s |
✅ JSON | v8r | 1 | 0 | 1.46s | |
❌ OPENAPI | spectral | 9 | 7 | 17.15s | |
✅ REPOSITORY | git_diff | yes | no | 0.77s | |
✅ REPOSITORY | secretlint | yes | no | 4.61s | |
❌ YAML | yamllint | 9 | 1 | 4.86s |
See detailed report in MegaLinter reports
^ note the error above is the result of the linter running against the commit, i..e the linter files themselves.
I would like we get this PR merged sooner rather than later. Could we merge it?
What I see from the errors of the mega linter, most the issues are fixed by https://github.com/camaraproject/EdgeCloud/pull/222
Here a resume of the errors:
Error: 8:16 [colons] too many spaces after colon
Error: 105:1 [empty-lines] too many blank lines (3 > 2)
Warning: 375:9 [comments-indentation] comment not indented like content
Error: 549:5 [indentation] wrong indentation: expected 6 but found 4
Warning: 639:2 [comments-indentation] comment not indented like content
Warning: 672:2 [comments-indentation] comment not indented like content
Error: 743:10 [indentation] wrong indentation: expected 10 but found 9
Error: 759:15 [indentation] wrong indentation: expected 10 but found 14
Warning: 858:2 [comments-indentation] comment not indented like content
Warning: 889:2 [comments-indentation] comment not indented like content
Warning: 978:2 [comments-indentation] comment not indented like content
Warning: 1540:2 [comments-indentation] comment not indented like content
@nicolacdnll thanks and agree - you should be able to merge the PR (I can't merge because I created the PR)
Commonalities release 0.3.0 defines the linting integration guidelines for automated testing via Github actions. This PR adds the files and configuration to achieve this.