Browse Source

Task: Add lint dart format

master
Sambo Chea 8 months ago
parent
commit
65e6aac985
  1. 2
      lib/src/configurable/configurable.dart
  2. 3
      lint.sh

2
lib/src/configurable/configurable.dart

@ -12,4 +12,4 @@ String getConfig(String key, {String? defaultValue}) =>
bool hasConfigkey(String key) => SystemConfig.containsKey(key);
/// 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

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