icapps / flutter-template

A Flutter Template to get started quickly

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update fastlane to also check .g.dart files in analyze

vanlooverenkoen opened this issue · comments

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

image


    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")