Exclude codegen/lib/main.dart from static analysis (#52829)
This commit is contained in:
9
dev/integration_tests/codegen/analysis_options.yaml
Normal file
9
dev/integration_tests/codegen/analysis_options.yaml
Normal file
@@ -0,0 +1,9 @@
|
||||
# Take our settings from the repo's main analysis_options.yaml file, but add
|
||||
# an exclude for the lib/main.dart file, which requires a code-generated file,
|
||||
# in order to be properly analyzed.
|
||||
|
||||
include: ../../../analysis_options.yaml
|
||||
|
||||
analyzer:
|
||||
exclude:
|
||||
- lib/main.dart
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_driver/driver_extension.dart';
|
||||
import 'message.dart' as generated; // ignore: uri_does_not_exist
|
||||
import 'message.dart' as generated;
|
||||
|
||||
Future<void> main() async {
|
||||
enableFlutterDriverExtension();
|
||||
|
||||
Reference in New Issue
Block a user