/flutter-analyze-pre-commit

Run flutter analyze with pre-commit

Primary LanguageShellMIT LicenseMIT

Flutter Analyze pre-commit

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/*]

Acknowledgements

Charles Crete for creating flutter-format-pre-commit