Created
February 1, 2022 21:27
-
-
Save rrrene/487a4362873db1fe93fe55b8df27fb28 to your computer and use it in GitHub Desktop.
All Autofixable standard Credo checks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Credo.Check.Consistency.LineEndings | |
Credo.Check.Consistency.ParameterPatternMatching | |
Credo.Check.Consistency.SpaceAroundOperators | |
Credo.Check.Consistency.SpaceInParentheses | |
Credo.Check.Consistency.TabsOrSpaces | |
Credo.Check.Design.AliasUsage | |
Credo.Check.Readability.AliasOrder | |
Credo.Check.Readability.FunctionNames | |
Credo.Check.Readability.LargeNumbers | |
Credo.Check.Readability.ParenthesesInCondition | |
Credo.Check.Readability.ParenthesesOnZeroArityDefs | |
Credo.Check.Readability.PreferImplicitTry | |
Credo.Check.Readability.RedundantBlankLines | |
Credo.Check.Readability.Semicolons | |
Credo.Check.Readability.SpaceAfterCommas | |
Credo.Check.Readability.StringSigils | |
Credo.Check.Readability.TrailingBlankLine | |
Credo.Check.Readability.TrailingWhiteSpace | |
Credo.Check.Readability.UnnecessaryAliasExpansion | |
Credo.Check.Readability.WithSingleClause | |
Credo.Check.Refactor.Apply | |
Credo.Check.Refactor.CondStatements | |
Credo.Check.Refactor.MapJoin | |
Credo.Check.Refactor.NegatedConditionsInUnless | |
Credo.Check.Refactor.NegatedConditionsWithElse | |
Credo.Check.Refactor.UnlessWithElse | |
Credo.Check.Refactor.WithClauses | |
Credo.Check.Refactor.FilterFilter | |
Credo.Check.Refactor.RejectReject | |
Credo.Check.Refactor.RedundantWithClauseResult | |
Credo.Check.Warning.ExpensiveEmptyEnumCheck | |
Credo.Check.Warning.WrongTestFileExtension | |
Credo.Check.Warning.UnusedEnumOperation | |
Credo.Check.Warning.UnusedFileOperation | |
Credo.Check.Warning.UnusedKeywordOperation | |
Credo.Check.Warning.UnusedListOperation | |
Credo.Check.Warning.UnusedPathOperation | |
Credo.Check.Warning.UnusedRegexOperation | |
Credo.Check.Warning.UnusedStringOperation | |
Credo.Check.Warning.UnusedTupleOperation |
This is just a list of checks that would lend themselves to be auto-fixable (basically a working document).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Are auto-fixable checks available in Credo or some other tool? I just happened across this Gist by searching for information on one of the checks, but I couldn't find anything regarding auto-fixes.