Paradime Setup and Configuration
Overview
Paradime comes pre-installed with pre-commits, making it easy to get started with code quality checks. You only need to configure the hooks you want to use, and Paradime handles the rest.
Getting Started
To get started, Run paradime pre-commit in the terminal

Initial Setup
If your repository doesn't have existing pre-commit configurations, Paradime offers standard recommended hooks to get you started.
These include:
General code quality checks
Example pre commit hooks template
Running Pre-commit
You can run pre-commit checks in two ways:
All Files: Run checks on all files in your project
Staged Files: Run checks only on files staged for commit
To run checks, use the same command and select the option from the menu:

First-Time Installation
Automatic Pre-commit Checks
To enable automatic pre-commit checks when creating commits via terminal, run:
Important: This is recommended only if you use git in the terminal to create commits. For commits made through Git Lite or Git Advanced panel, hook errors/warnings are not currently displayed.
To disable automatic pre-commit checks when creating commits via terminal, run:
Best Practices
Start with Paradime's recommended hooks
Gradually customize configurations as needed
Run checks manually before committing large changes
Keep hook configurations in version control
Common Workflows
Manual Check Before Commit
Checking Specific Files
Updating Hook Configurations
Modify
.pre-commit-config.yamlAuto-update the config to the latest repos' versions by executing
pre-commit autoupdateRun
paradime pre-committo apply changes
Remember: Paradime's pre-commit integration makes it easy to maintain code quality without complex setup or configuration steps.
Last updated
Was this helpful?