Datadog acquired Codiga. This repository is no longer active.
- Works for Python, JavaScript and TypeScript (C# and Java coming)
- Fix security vulnerabilities and coding mistakes from your IDE
- Let you write your own custom rules (tutorial or documentation)
Run the following command at the root of your project.
npx @codiga/cli@latest ruleset-add
It will create a codiga.yml
file at the root of your project, which is used to know what rulesets to use. You can refine the rulesets later and rulesets you find on the Codiga Hub.
- Add your API key (see below)
- Visit the Codiga Hub and select the rulesets to use for your project.
- Create a
codiga.yml
at the root of your project with the list of rulesets you want to use. An example of acodiga.yml
file for Python is shown below.
rulesets:
- python-security
- python-best-practices
To use Codiga, you need an API Token from Codiga. Log on Codiga using your GitHub, GitLab, Bitbucket or Google account.
Then, in your preferences, generate a new API key as shown below.
Add the token in your VS Code preferences.
You can either fill a bug report directly. If you do not want to open a ticket, you can also directly contact us.