Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 979 Bytes

File metadata and controls

36 lines (23 loc) · 979 Bytes

Migration Guide

If your project currently has its own formatting/linting configurations, follow these steps to migrate to the centralized tooling repository.

1. Remove Local Configs

Delete existing configurations to avoid conflicts:

rm .prettierrc .eslintrc.js .stylelintrc.json

2. Update dependencies

Ensure you don't have conflicting versions of formatters/linters in your package.json. It's recommended to let the shared configs manage their own sub-dependencies where possible.

3. Follow Integration Guides

Refer to the language-specific integration guides:

4. Set up Pre-commit

If you don't have pre-commit installed, install it:

pip install pre-commit
# or
brew install pre-commit

Then create/update .pre-commit-config.yaml as per the template. Run pre-commit install to set up the git hooks.