wechat_pay
wechat_pay copied to clipboard
Bump credo from 1.6.7 to 1.7.0
Bumps credo from 1.6.7 to 1.7.0.
Changelog
Sourced from credo's changelog.
1.7.0
Credo.Check.Readability.ModuleDocworks for Phoenix 1.7+ viewsCredo.Check.Readability.FunctionNamesnow ignores custom operatorsCredo.Check.Refactor.Applynow works in pipesCredo.Check.Consistency.ExceptionNamesdoes no longer yield an issue if there is only one matchCredo.Check.Readability.ModuleNamesnow supports an:ignoreparameterCredo.Check.Design.AliasUsagenow supports an:if_referencedparameterCredo.Check.Readability.FunctionNamesnow works for acronyms in predicate functionsCredo.Check.Readability.NestedFunctionCallsnow works for calls already in a pipeline and local function callsAdd SARIF support
Credo 1.7 provides a formatter that will output data in SARIF format, allowing direct GitHub support via the
Securitytab.You can now use
mix credo --format=sarifto output results in SARIF format.Add IDs to checks
This was requested for SARIF support and has been added to provide a unique identifier for checks that is more technical than the check name.
Check authors can add IDs to their custom checks by using the
:idoption:defmodule MyCheck do use Credo.Check, id: "EX5042", category: :warning, # ... endCredo's naming scheme for these IDs is simple:
EX5042 ^^
EXstands for Elixir.EX5042 ^The first digit represents the category.
EX5042 ^
... (truncated)
Commits
4a3d1efBump version to 1.7.03d8aad3Update CHANGELOGfe6ee79Merge pull request #1020 from Stratus3D/tb/nested-calls-check-fix5cfea9eDuplicate code into NestedFunctionCalls check moduleb8583dcRevert "Extract valid_chain_start?/3 pipe helper function into helper module"ab49200Update compatibility-phoenix.yml5c25cd8Fix Nesting issues with non-do blocksc5155c0Update compatibility-phoenix.ymlbe3422dFix issue with else blocks in Nesting0b2ff85Add test reproducing #1029- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)