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