static analysis: exclude generated file

This commit is contained in:
Thibault Deckers 2020-07-26 12:38:32 +09:00
parent 19314ccfd4
commit 875db2f994
2 changed files with 8 additions and 7 deletions

View file

@ -2,6 +2,7 @@ include: package:pedantic/analysis_options.yaml
analyzer: analyzer:
exclude: exclude:
- lib/flutter_version.dart
- lib/generated_plugin_registrant.dart - lib/generated_plugin_registrant.dart
# strong-mode: # strong-mode:

View file

@ -1,10 +1,10 @@
// run `scripts/update_flutter_version.sh` to update with the content of `flutter --version --machine` // run `scripts/update_flutter_version.sh` to update with the content of `flutter --version --machine`
const Map<String, String> version = { const Map<String, String> version = {
'channel': 'unknown', "channel": "unknown",
'dartSdkVersion': 'unknown', "dartSdkVersion": "unknown",
'engineRevision': 'unknown', "engineRevision": "unknown",
'frameworkCommitDate': 'unknown', "frameworkCommitDate": "unknown",
'frameworkRevision': 'unknown', "frameworkRevision": "unknown",
'frameworkVersion': 'unknown', "frameworkVersion": "unknown",
'repositoryUrl': 'unknown', "repositoryUrl": "unknown",
}; };