mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
add support for dart as a hook language
This commit is contained in:
parent
0f08ba77c8
commit
f8e21cb78b
19 changed files with 227 additions and 29 deletions
6
testing/resources/dart_repo/bin/hello-world-dart.dart
Normal file
6
testing/resources/dart_repo/bin/hello-world-dart.dart
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
import 'package:ansicolor/ansicolor.dart';
|
||||
|
||||
void main() {
|
||||
AnsiPen pen = new AnsiPen()..red();
|
||||
print("hello hello " + pen("world"));
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue