Add --empty to the flutter create command (#113873)

This commit is contained in:
Greg Spencer
2022-10-24 14:20:03 -07:00
committed by GitHub
parent 3c2f500b1b
commit 5259e1bc6d
7 changed files with 98 additions and 3 deletions

View File

@@ -1,3 +1,4 @@
{{^withEmptyMain}}
# This file configures the analyzer, which statically analyzes Dart code to
# check for errors, warnings, and lints.
#
@@ -7,7 +8,9 @@
# The following line activates a set of recommended lints for Flutter apps,
# packages, and plugins designed to encourage good coding practices.
{{/withEmptyMain}}
include: package:flutter_lints/flutter.yaml
{{^withEmptyMain}}
linter:
# The lint rules applied to this project can be customized in the
@@ -27,3 +30,4 @@ linter:
# Additional information about this file can be found at
# https://dart.dev/guides/language/analysis-options
{{/withEmptyMain}}