Migrate out custom ignore syntax to flutter_ignore (#78497)

This commit is contained in:
Michael Goderbauer
2021-03-19 15:33:05 -07:00
committed by GitHub
parent a7e3b1a35d
commit 197b440e96
16 changed files with 28 additions and 28 deletions

View File

@@ -26,7 +26,7 @@ final RegExp ignoreForFilePattern = RegExp(r'// *ignore_for_file:');
final RegExp asDynamicPattern = RegExp(r'\bas dynamic\b');
final RegExp deprecationPattern = RegExp(r'^ *@[dD]eprecated');
const Pattern globalsPattern = 'globals.';
const String legacyDeprecationPattern = '// ignore: flutter_deprecation_syntax, https';
const String legacyDeprecationPattern = '// flutter_ignore: deprecation_syntax, https';
Future<double> findCostsForFile(File file) async {
if (path.extension(file.path) == '.py')