Enable lint prefer asserts in initializer lists (#12903)

* enable lint prefer_asserts_in_initializer_lists

* enable --assert-initializer
This commit is contained in:
Alexandre Ardhuin
2017-11-08 22:59:49 +01:00
committed by GitHub
parent a75f003b9c
commit 15601fe55c
25 changed files with 82 additions and 88 deletions

View File

@@ -39,6 +39,7 @@ IF NOT EXIST "%flutter_root%\.git" (
REM Ensure that bin/cache exists.
IF NOT EXIST "%cache_dir%" MKDIR "%cache_dir%"
SET FLUTTER_TOOL_ARGS=--assert-initializer %FLUTTER_TOOL_ARGS%
REM To debug the tool, you can uncomment the following lines to enable checked mode and set an observatory port:
REM SET FLUTTER_TOOL_ARGS="--checked %FLUTTER_TOOL_ARGS%"
REM SET FLUTTER_TOOL_ARGS="%FLUTTER_TOOL_ARGS% --observe=65432"