diff --git a/bricks/template/__brick__/dangerfile.dart b/bricks/template/__brick__/dangerfile.dart index 3d236c4..5fb4ab6 100644 --- a/bricks/template/__brick__/dangerfile.dart +++ b/bricks/template/__brick__/dangerfile.dart @@ -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)