Skip to content

Commit

Permalink
[#242] Add lint into dangerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
doannimble committed Nov 21, 2023
1 parent adb2700 commit f88a03c
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions bricks/template/__brick__/dangerfile.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
import 'package:danger_core/danger_core.dart';

void main() {
if (danger.github.pr.title.contains('WIP')) {
warn('PR is considered WIP');
}
}
flutter_lint.only_modified_files = true
flutter_lint.report_path = "flutter_analyze_report.txt"
flutter_lint.lint(inline_mode: true)

0 comments on commit f88a03c

Please sign in to comment.