mirror of
https://github.com/chenasraf/pantry-flutter.git
synced 2026-05-17 17:28:03 +00:00
build: use lefthook for hooks
This commit is contained in:
9
lefthook.yml
Normal file
9
lefthook.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
pre-commit:
|
||||
commands:
|
||||
format:
|
||||
glob: "*.dart"
|
||||
run: dart format {staged_files}
|
||||
stage_fixed: true
|
||||
analyze:
|
||||
glob: "*.dart"
|
||||
run: dart analyze {staged_files}
|
||||
Reference in New Issue
Block a user