Use with pre commit

Once you have pre-commit installed, adding pre-commit plugins to your project is done with the .pre-commit-config.yaml configuration file.

Add a file called .pre-commit-config.yaml to the root of your project. The pre-commit config file describes what repositories and hooks are installed.

repos:
  - repo: https://github.com/hakancelikdev/unimport
    rev: stable
    hooks:
      - id: unimport
        args:
          - --include-star-import
          - --ignore-init
          - --gitignore

Last update: April 3, 2023
Created: April 3, 2023