prqlc-r
prqlc-r copied to clipboard
ci: add GitHub Actions workflows for linting
Close #47
TODO
- [ ] Configure clippy
- [ ] Add config files for linters (at least markdownlint, yamllint)
- [ ] markdownlint should ignore cran-comments and CRAN-SUBMISSION
- [ ] Rbuildignore these files
🦙 MegaLinter status: ❌ ERROR
| Descriptor | Linter | Files | Fixed | Errors | Elapsed time |
|---|---|---|---|---|---|
| ❌ ACTION | actionlint | 6 | 5 | 0.11s | |
| ✅ COPYPASTE | jscpd | yes | no | 1.58s | |
| ✅ EDITORCONFIG | editorconfig-checker | 82 | 0 | 0.15s | |
| ✅ JSON | eslint-plugin-jsonc | 1 | 0 | 0 | 0.85s |
| ✅ JSON | jsonlint | 1 | 0 | 0.17s | |
| ✅ JSON | prettier | 1 | 1 | 0 | 0.34s |
| ✅ JSON | v8r | 1 | 0 | 1.95s | |
| ⚠️ MARKDOWN | markdownlint | 5 | 2 | 47 | 0.93s |
| ✅ MARKDOWN | markdown-link-check | 5 | 0 | 2.15s | |
| ✅ MARKDOWN | markdown-table-formatter | 5 | 2 | 0 | 0.28s |
| ❌ REPOSITORY | checkov | yes | 5 | 10.82s | |
| ✅ REPOSITORY | gitleaks | yes | no | 4.38s | |
| ✅ REPOSITORY | git_diff | yes | no | 0.01s | |
| ✅ REPOSITORY | grype | yes | no | 13.7s | |
| ✅ REPOSITORY | kics | yes | no | 12.98s | |
| ✅ REPOSITORY | secretlint | yes | no | 0.79s | |
| ❌ REPOSITORY | trivy | yes | 1 | 3.65s | |
| ✅ REPOSITORY | trivy-sbom | yes | no | 1.17s | |
| ✅ REPOSITORY | trufflehog | yes | no | 5.69s | |
| ❌ RUST | clippy | yes | 1 | 18.84s | |
| ❌ SPELL | lychee | 16 | 2 | 0.68s | |
| ✅ YAML | prettier | 10 | 0 | 0 | 0.84s |
| ✅ YAML | v8r | 10 | 0 | 8.35s | |
| ❌ YAML | yamllint | 10 | 1 | 0.42s |
See detailed report in MegaLinter reports