GitXplorerGitXplorer
r

credo

public
4959 stars
423 forks
18 issues

Commits

List of commits on branch master.
Unverified
965a59c0e71067c7fc6fab26860ac6dc0ea2912f

Bump version to 1.7.11

rrrrene committed 21 days ago
Unverified
92a6814df91688b4f19e67d5d1e5a996b1989370

Update CHANGELOG

rrrrene committed 21 days ago
Unverified
7482d13367eeb16fbca0596250fa5a5252050ca4

Update GitHub actions

rrrrene committed 21 days ago
Unverified
b02c29220d4f455a94f939decfe5686db2d77cf2

Update to Elixir 1.18.1

rrrrene committed 21 days ago
Verified
e69dc29f41b5a9bdce14829bd1f53b1236735834

Merge pull request #1166 from Wigny/wigny/add-unusedvariablenames-checks

rrrrene committed 25 days ago
Unverified
dd666fa331da2e58295532c150167aaff294caec

Update GitHub actions

rrrrene committed 25 days ago

README

The README file for this repository.

Credo CI Tests Inline docs

Credo is a static code analysis tool for the Elixir language with a focus on teaching and code consistency.

It can show you refactoring opportunities in your code, complex code fragments, warn you about common mistakes, show inconsistencies in your naming scheme and - if needed - help you enforce a desired coding style.

Credo

Installation and Usage

The easiest way to add Credo to your project is by using Mix.

Add :credo as a dependency to your project's mix.exs:

defp deps do
  [
    {:credo, "~> 1.7", only: [:dev, :test], runtime: false}
  ]
end

And run:

$ mix deps.get

$ mix credo

Documentation

Documentation is available on Hexdocs

Integrations

IDE/Editor

Some IDEs and editors are able to run Credo in the background and mark issues inline.

Automated Code Review

  • Codacy - checks your code from style to security, duplication, complexity, and also integrates with coverage.
  • SourceLevel - tracks how your code changes over time and have this information accessible to your whole team.
  • Stickler CI - checks your code for style and best practices across your entire stack.

Contributing

  1. Fork it!
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Author

René Föhring (@rrrene)

License

Credo is released under the MIT License. See the LICENSE file for further details.