Open KaoImin opened 7 months ago
The key point of the issue is not how to fix, is how to prevent. Your PR doesn't resolve that.
Descriptor | Linter | Files | Fixed | Errors | Elapsed time |
---|---|---|---|---|---|
β ACTION | actionlint | 26 | 46 | 0.39s | |
β BASH | bash-exec | 3 | 0 | 0.01s | |
β BASH | shellcheck | 3 | 22 | 0.07s | |
β BASH | shfmt | 3 | 2 | 0 | 0.05s |
β COPYPASTE | jscpd | yes | 435 | 14.17s | |
β DOCKERFILE | hadolint | 1 | 1 | 0.06s | |
β EDITORCONFIG | editorconfig-checker | 578 | 1 | 2.44s | |
β ENV | dotenv-linter | 1 | 1 | 0 | 0.05s |
β HTML | djlint | 36 | 209 | 1.38s | |
β HTML | htmlhint | 36 | 112 | 0.24s | |
β JSON | eslint-plugin-jsonc | 12 | 0 | 0 | 1.25s |
β JSON | jsonlint | 12 | 0 | 0.13s | |
β JSON | prettier | 12 | 3 | 0 | 0.92s |
β JSON | v8r | 12 | 1 | 13.13s | |
β οΈ MARKDOWN | markdownlint | 85 | 6 | 341 | 6.35s |
β MARKDOWN | markdown-link-check | 85 | 2 | 405.14s | |
β MARKDOWN | markdown-table-formatter | 85 | 8 | 0 | 0.33s |
β REPOSITORY | checkov | yes | 51 | 19.18s | |
β REPOSITORY | gitleaks | yes | 166 | 4.14s | |
β REPOSITORY | git_diff | yes | no | 0.06s | |
β REPOSITORY | grype | yes | 1 | 17.21s | |
β REPOSITORY | secretlint | yes | no | 3.02s | |
β REPOSITORY | trivy | yes | 1 | 5.98s | |
β REPOSITORY | trivy-sbom | yes | no | 3.44s | |
β REPOSITORY | trufflehog | yes | no | 5.53s | |
β YAML | prettier | 39 | 26 | 0 | 2.64s |
β YAML | v8r | 39 | 1 | 51.94s | |
β YAML | yamllint | 39 | 1 | 0.84s |
See detailed report in MegaLinter reports
Descriptor | Linter | Files | Fixed | Errors | Elapsed time |
---|---|---|---|---|---|
β BASH | bash-exec | 2 | 0 | 0.01s | |
β BASH | shellcheck | 2 | 22 | 0.07s | |
β BASH | shfmt | 2 | 0 | 0 | 0.05s |
β COPYPASTE | jscpd | yes | 401 | 14.06s | |
β EDITORCONFIG | editorconfig-checker | 37 | 1 | 0.09s | |
β ENV | dotenv-linter | 1 | 0 | 0 | 0.05s |
β JSON | eslint-plugin-jsonc | 5 | 0 | 0 | 0.97s |
β JSON | jsonlint | 5 | 0 | 0.21s | |
β JSON | v8r | 5 | 1 | 3.99s | |
β οΈ MARKDOWN | markdownlint | 12 | 0 | 233 | 3.36s |
β οΈ MARKDOWN | markdown-link-check | 12 | 10 | 43.74s | |
β MARKDOWN | markdown-table-formatter | 12 | 0 | 0 | 0.4s |
β REPOSITORY | checkov | yes | 49 | 21.48s | |
β οΈ REPOSITORY | devskim | yes | 234 | 4.19s | |
β REPOSITORY | dustilock | yes | no | 1.88s | |
β REPOSITORY | git_diff | yes | no | 0.03s | |
β οΈ REPOSITORY | grype | yes | 1 | 19.82s | |
β REPOSITORY | secretlint | yes | no | 3.1s | |
β REPOSITORY | syft | yes | no | 1.26s | |
β REPOSITORY | trivy | yes | 1 | 15.53s | |
β REPOSITORY | trivy-sbom | yes | no | 0.98s | |
β REPOSITORY | trufflehog | yes | no | 4.13s | |
β SPELL | cspell | 33 | 183 | 8.49s | |
β SPELL | lychee | 20 | 13 | 2.73s | |
β TERRAFORM | terraform-fmt | 3 | 0 | 0 | 0.33s |
β TERRAFORM | terrascan | yes | 1 | 4.47s | |
β TERRAFORM | tflint | yes | 1 | 0.16s | |
β YAML | prettier | 8 | 0 | 0 | 0.8s |
β YAML | v8r | 8 | 0 | 7.82s | |
β YAML | yamllint | 8 | 0 | 0.54s |
See detailed report in MegaLinter reports
_Set VALIDATE_ALL_CODEBASE: true
in mega-linter.yml to validate all sources, not only the diff_
What this PR does / why we need it?
This PR unify Axon code style using https://github.com/oxsecurity/megalinter:
What is the impact of this PR?
No Breaking Change
PR relation:
CI Settings
### **CI Usage** **Tip**: Check the CI you want to run below, and then comment `/run-ci`. **CI Switch** - [ ] Web3 Compatible Tests - [ ] OpenZeppelin tests - [ ] v3 Core Tests ### **CI Description** | CI Name | Description | | ---------------------- | ------------------------------------------------------------------------------------------------------- | | *Web3 Compatible Test* | Test the Web3 compatibility of Axon | | *v3 Core Test* | Run the compatibility tests provided by Uniswap V3 | | *OpenZeppelin tests* | Run the compatibility tests provided by OpenZeppelin, including OCT 1-5 \| 6-10 \| 11 \| 12-15 \| 16-19 |