{"id":13443102,"url":"https://github.com/rrrene/credo","last_synced_at":"2025-05-14T21:02:01.771Z","repository":{"id":39653570,"uuid":"43247111","full_name":"rrrene/credo","owner":"rrrene","description":"A static code analysis tool for the Elixir language with a focus on code consistency and teaching.","archived":false,"fork":false,"pushed_at":"2025-04-20T05:33:50.000Z","size":5410,"stargazers_count":4996,"open_issues_count":26,"forks_count":427,"subscribers_count":54,"default_branch":"master","last_synced_at":"2025-05-07T20:28:16.010Z","etag":null,"topics":["code-analysis","credo","elixir","linter","static-analysis"],"latest_commit_sha":null,"homepage":"http://credo-ci.org/","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rrrene.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2015-09-27T13:16:15.000Z","updated_at":"2025-05-06T19:29:56.000Z","dependencies_parsed_at":"2024-04-28T22:27:36.108Z","dependency_job_id":"d725b657-bfb9-4e4b-a804-13f29f94e5b8","html_url":"https://github.com/rrrene/credo","commit_stats":{"total_commits":2885,"total_committers":250,"mean_commits":11.54,"dds":"0.43327556325823224","last_synced_commit":"965a59c0e71067c7fc6fab26860ac6dc0ea2912f"},"previous_names":[],"tags_count":144,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rrrene%2Fcredo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rrrene%2Fcredo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rrrene%2Fcredo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rrrene%2Fcredo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rrrene","download_url":"https://codeload.github.com/rrrene/credo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254077060,"owners_count":22010651,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["code-analysis","credo","elixir","linter","static-analysis"],"created_at":"2024-07-31T03:01:56.090Z","updated_at":"2025-05-14T21:02:01.691Z","avatar_url":"https://github.com/rrrene.png","language":"Elixir","funding_links":[],"categories":["Elixir","Top 20 packages","Code Analysis","Linters","Tools","Programming Languages","Uncategorized"],"sub_categories":["Elixir","Mesh networks","Uncategorized"],"readme":"# Credo [![CI Tests](https://github.com/rrrene/credo/workflows/CI%20Tests/badge.svg)](https://github.com/rrrene/credo/actions?query=branch%3Amaster) [![Inline docs](https://inch-ci.org/github/rrrene/credo.svg?branch=master)](https://hexdocs.pm/credo)\n\nCredo is a static code analysis tool for the Elixir language with a focus on teaching and code consistency.\n\nIt 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.\n\n\n![Credo](https://raw.github.com/rrrene/credo/master/assets/screenshot.png)\n\n\n## Installation and Usage\n\nThe easiest way to add Credo to your project is by [using Mix](http://elixir-lang.org/getting-started/mix-otp/introduction-to-mix.html).\n\nAdd `:credo` as a dependency to your project's `mix.exs`:\n\n```elixir\ndefp deps do\n  [\n    {:credo, \"~\u003e 1.7\", only: [:dev, :test], runtime: false}\n  ]\nend\n```\n\nAnd run:\n\n    $ mix deps.get\n\n    $ mix credo\n\n## Documentation\n\nDocumentation is [available on Hexdocs](https://hexdocs.pm/credo/)\n\n## Integrations\n\n### IDE/Editor\n\nSome IDEs and editors are able to run Credo in the background and mark issues inline.\n\n* [IntelliJ Elixir](https://github.com/KronicDeth/intellij-elixir#credo) - Elixir plugin for JetBrains IDEs (IntelliJ IDEA, Rubymine, PHPStorm, PyCharm, etc)\n* [linter-elixir-credo](https://atom.io/packages/linter-elixir-credo) - Package for Atom editor (by @smeevil)\n* [Elixir Linter (Credo)](https://marketplace.visualstudio.com/items?itemName=pantajoe.vscode-elixir-credo) - VSCode extension (by @pantajoe)\n* [flycheck](https://www.flycheck.org/en/latest/languages.html#elixir) - Emacs syntax checking extension\n* [kakoune](https://github.com/mawww/kakoune/wiki/Lint#elixir) - Config for linting support in Kakoune editor\n* [Neovim via null-ls](https://github.com/jose-elias-alvarez/null-ls.nvim/blob/main/lua/null-ls/builtins/diagnostics/credo.lua) - diagnostics builtin\n\n### Automated Code Review\n\n* [Codacy](https://www.codacy.com/) - checks your code from style to security, duplication, complexity, and also integrates with coverage.\n* [SourceLevel](https://sourcelevel.io/) - tracks how your code changes over time and have this information accessible to your whole team.\n* [Stickler CI](https://stickler-ci.com/) - checks your code for style and best practices across your entire stack.\n\n## Contributing\n\n1. [Fork it!](http://github.com/rrrene/credo/fork)\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n\n\n\n## Author\n\nRené Föhring (@rrrene)\n\n\n\n## License\n\nCredo is released under the MIT License. See the LICENSE file for further\ndetails.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frrrene%2Fcredo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frrrene%2Fcredo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frrrene%2Fcredo/lists"}