pre-commit
hook for running Flutter anlyzer
Add the following in your .pre-commit-config.yaml
:
- repo: https://github.com/TinJieWang/flutter-pre-commit
rev: v0.0.3
hooks:
- id: flutter-analyze
args: [lib/*]
Charles Crete for creating flutter-format-pre-commit