All Projects → rrrene → Credo

rrrene / Credo

Licence: mit
A static code analysis tool for the Elixir language with a focus on code consistency and teaching.

Programming Languages

elixir
2628 projects

Projects that are alternatives of or similar to Credo

Eslint Plugin Sonarjs
SonarJS rules for ESLint
Stars: ✭ 458 (-88.95%)
Mutual labels:  static-analysis, linter, code-analysis
Wotan
Pluggable TypeScript and JavaScript linter
Stars: ✭ 271 (-93.46%)
Mutual labels:  static-analysis, linter, code-analysis
static-code-analysis-plugin
A plugin to simplify Static Code Analysis on Gradle. Not restricted to, but specially useful, in Android projects, by making sure all analysis can access the SDK classes.
Stars: ✭ 36 (-99.13%)
Mutual labels:  linter, static-analysis, code-analysis
Bodyclose
Analyzer: checks whether HTTP response body is closed and a re-use of TCP connection is not blocked.
Stars: ✭ 181 (-95.63%)
Mutual labels:  static-analysis, linter, code-analysis
Pmd
An extensible multilanguage static code analyzer.
Stars: ✭ 3,667 (-11.51%)
Mutual labels:  static-analysis, linter, code-analysis
Spotbugs
SpotBugs is FindBugs' successor. A tool for static analysis to look for bugs in Java code.
Stars: ✭ 2,569 (-38.01%)
Mutual labels:  static-analysis, linter, code-analysis
addlint
An example linter written with go/analysis for tutorial purposes
Stars: ✭ 49 (-98.82%)
Mutual labels:  linter, static-analysis
automutate
Applies waves of mutations provided by other tools, such as linters or codemods.
Stars: ✭ 13 (-99.69%)
Mutual labels:  linter, static-analysis
Goreporter
A Golang tool that does static analysis, unit testing, code review and generate code quality report.
Stars: ✭ 2,943 (-28.98%)
Mutual labels:  static-analysis, linter
Linter
Static Analysis Compiler Plugin for Scala
Stars: ✭ 273 (-93.41%)
Mutual labels:  static-analysis, linter
Coala Bears
Bears for coala
Stars: ✭ 276 (-93.34%)
Mutual labels:  linter, code-analysis
Reviewdog
🐶 Automated code review tool integrated with any code analysis tools regardless of programming language
Stars: ✭ 4,541 (+9.58%)
Mutual labels:  static-analysis, linter
illuaminate
Very WIP static analysis for Lua
Stars: ✭ 21 (-99.49%)
Mutual labels:  linter, static-analysis
golintui
A simple terminal UI for Go linters
Stars: ✭ 73 (-98.24%)
Mutual labels:  linter, static-analysis
unimport
A linter, formatter for finding and removing unused import statements.
Stars: ✭ 119 (-97.13%)
Mutual labels:  linter, static-analysis
pahout
A pair programming partner for writing better PHP. Pahout means PHP mahout 🐘
Stars: ✭ 43 (-98.96%)
Mutual labels:  linter, static-analysis
Pylint
It's not just a linter that annoys you!
Stars: ✭ 3,733 (-9.92%)
Mutual labels:  static-analysis, linter
Dlint
Dlint is a tool for encouraging best coding practices and helping ensure we're writing secure Python code.
Stars: ✭ 320 (-92.28%)
Mutual labels:  static-analysis, linter
Detekt
Static code analysis for Kotlin
Stars: ✭ 4,169 (+0.6%)
Mutual labels:  linter, static-analysis
sonar-gherkin-plugin
SonarQube Cucumber Gherkin Analyzer
Stars: ✭ 33 (-99.2%)
Mutual labels:  linter, static-analysis

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.6", 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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].