https://github.com/intellitect/pre-commit-flutter
pre-commit hooks for Flutter apps
https://github.com/intellitect/pre-commit-flutter
Last synced: 14 days ago
JSON representation
pre-commit hooks for Flutter apps
- Host: GitHub
- URL: https://github.com/intellitect/pre-commit-flutter
- Owner: IntelliTect
- Created: 2024-06-07T18:00:54.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-06-07T18:24:19.000Z (11 months ago)
- Last Synced: 2025-04-12T15:09:29.016Z (14 days ago)
- Language: C++
- Size: 263 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pre-commit-flutter
[pre-commit](https://pre-commit.com/) hooks for [Flutter](https://flutter.dev/)
---
To use the hooks:
```yaml
# .pre-commit-config.yaml
repos:
- repo: https://github.com/intellitect/pre-commit-flutter
rev: 70e63d4b1a3a3262bedbdf53a03dadae302b99a0
hooks:
- id: flutter-lint
```To update to the latest version of the hook:
```shell
pre-commit autoupdate --bleeding-edge --repo https://github.com/intellitect/pre-commit-flutter
```## Development
To test a hook in this repo:
```shell
pre-commit try-repo --all-files . flutter-lint
```To test all the hooks, remove the hook ID:
```shell
pre-commit try-repo --all-files .
```