forked from firka/flutter
Add --empty to the flutter create command (#113873)
This commit is contained in:
@@ -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}}
|
||||
|
||||
Reference in New Issue
Block a user