Skip to content

Commit 140c6d4

Browse files
committed
Add pre-commands for Dartanalyzer
The Dartanalyzer will now run `flutter pub get` in the `flutter/craftd_widget` and `flutter/sample` directories before analysis. This ensures that dependencies are fetched, which is necessary for the analyzer to function correctly.
1 parent 405c957 commit 140c6d4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.mega-linter.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,7 @@ FILEIO_REPORTER: false
3030

3131
KOTLIN_DETEKT_ARGUMENTS: -c android_kmp/config/detekt/detekt.yml
3232
JAVASCRIPT_STANDARD_DISABLE_ERRORS: true
33+
34+
DART_DARTANALYZER_PRE_COMMANDS:
35+
- flutter pub get --directory flutter/craftd_widget
36+
- flutter pub get --directory flutter/sample

0 commit comments

Comments
 (0)