Skip to content

Commit

Permalink
#245: Added a better analyzer pr job
Browse files Browse the repository at this point in the history
  • Loading branch information
vanlooverenkoen committed Apr 6, 2022
1 parent e4a2c41 commit 642b04d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ lane :pr do
installFvmVersion

Dir.chdir ".." do
sh("mv", "analysis_options.yaml", "fastlane/analysis_options_original.yaml")
sh("cp", "fastlane/analysis_options_all_files.yaml", "analysis_options.yaml")
sh("fvm", "flutter", "analyze")
sh("mv", "fastlane/analysis_options_original.yaml", "analysis_options.yaml")
sh("fvm", "flutter", "analyze")
sh("fvm", "flutter", "test")
#sh("fvm", "flutter", "test", "--coverage")
Expand Down
8 changes: 8 additions & 0 deletions fastlane/analysis_options_all_files.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
include: package:flutter_lints/flutter.yaml

linter:
rules:
unnecessary_brace_in_string_interps: false
avoid_returning_null_for_void: false
prefer_inlined_adds: false
prefer_const_declarations: false

0 comments on commit 642b04d

Please sign in to comment.