Skip to content
This repository has been archived by the owner on May 4, 2023. It is now read-only.

Latest commit

 

History

History
63 lines (40 loc) · 2.72 KB

README.md

File metadata and controls

63 lines (40 loc) · 2.72 KB

Datadog acquired Codiga. This repository is no longer active.

Slack Twitter Visual Studio Marketplace Rating

Codiga: Static Code Analysis on Steroids 🚀

  • 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)

Check Python Naming

Getting Started 🏃‍♀️

Automatic 🙌

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.

Manually 🐌

  1. Add your API key (see below)
  2. Visit the Codiga Hub and select the rulesets to use for your project.
  3. Create a codiga.yml at the root of your project with the list of rulesets you want to use. An example of a codiga.yml file for Python is shown below.
rulesets:
  - python-security
  - python-best-practices

API keys

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.

Generate API Token on Codiga

Add the token in your VS Code preferences.

Enter your API keys

Sending feedback

You can either fill a bug report directly. If you do not want to open a ticket, you can also directly contact us.

Learn More