Title: Replace Codeclimate with megalint by the-simmon · Pull Request #1122 · secureCodeBox/secureCodeBox · GitHub
Open Graph Title: Replace Codeclimate with megalint by the-simmon · Pull Request #1122 · secureCodeBox/secureCodeBox
X Title: Replace Codeclimate with megalint by the-simmon · Pull Request #1122 · secureCodeBox/secureCodeBox
Description: This PR adds Megalinter as a local linter. Closes #739 It adds a CI workflow, and a make target lint (lints only changed files), lintfix (lints only changed files and tries to apply automatic fixes) and lintall. An important observation: Currently Megalint is configured to only lint changed files, but for some reason megalint compares the current branch with the newest version of the main branch. This means that a change in main after the feature branch was created will trigger the linting of that changed file in the feature branch, even though the feature branch didn't change the file. This behavior can be observed in the result of the CI run of this branch. For example generic webhook will be linted because it was changed in the main branch, but this branch did not touch those files. (Download the ZIP at the end of the CI run page and check the spell checker report). The number of "unnecessary" linted files will increase with the number of changes in the main branch compared to the feature branch, which means that older feature branches will be spammed with more and more unnecessary findings over time.
Open Graph Description: This PR adds Megalinter as a local linter. Closes #739 It adds a CI workflow, and a make target lint (lints only changed files), lintfix (lints only changed files and tries to apply automatic fixes...
X Description: This PR adds Megalinter as a local linter. Closes #739 It adds a CI workflow, and a make target lint (lints only changed files), lintfix (lints only changed files and tries to apply automatic fixes...
Opengraph URL: https://github.com/secureCodeBox/secureCodeBox/pull/1122
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:9a88fff1-aa71-6dbd-3ef8-f7bc029eff1e |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | B22A:C3055:8628CE:AF9E27:698FB9B4 |
| html-safe-nonce | 8182ab69f22f1b32be8d4cbfa300301db4580ca1b332e76357073d8a0507da94 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMjJBOkMzMDU1Ojg2MjhDRTpBRjlFMjc6Njk4RkI5QjQiLCJ2aXNpdG9yX2lkIjoiMTcwNjgzNzg2Nzk3MDQxMDkzMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ad2e87bc3cbf2559fa3d29bb9be7e31950bfbbb73569b19119051c5660313b8a |
| hovercard-subject-tag | pull_request:913347270 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/secureCodeBox/secureCodeBox/pull/1122/checks |
| twitter:image | https://avatars.githubusercontent.com/u/41528189?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/41528189?s=400&v=4 |
| og:image:alt | This PR adds Megalinter as a local linter. Closes #739 It adds a CI workflow, and a make target lint (lints only changed files), lintfix (lints only changed files and tries to apply automatic fixes... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/secureCodeBox/secureCodeBox git https://github.com/secureCodeBox/secureCodeBox.git |
| octolytics-dimension-user_id | 34573705 |
| octolytics-dimension-user_login | secureCodeBox |
| octolytics-dimension-repository_id | 80711933 |
| octolytics-dimension-repository_nwo | secureCodeBox/secureCodeBox |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 80711933 |
| octolytics-dimension-repository_network_root_nwo | secureCodeBox/secureCodeBox |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4084c47bba08e7ba5fab63cb1dd485a339910ed7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width