Task: Add lint dart format

This commit is contained in:
Sambo Chea 2021-06-01 22:53:17 +07:00
parent 14eaec7633
commit 65e6aac985
2 changed files with 4 additions and 1 deletions

View File

@ -12,4 +12,4 @@ String getConfig(String key, {String? defaultValue}) =>
bool hasConfigkey(String key) => SystemConfig.containsKey(key); bool hasConfigkey(String key) => SystemConfig.containsKey(key);
/// set config into memory /// set config into memory
void setConfig(String key, String? value) => SystemConfig.set(key, value); void setConfig(String key, String? value) => SystemConfig.set(key, value);

3
lint.sh Normal file
View File

@ -0,0 +1,3 @@
#!/bin/sh -e
dart format --fix lib/