Migrate out custom ignore syntax to flutter_ignore (#78497)
This commit is contained in:
committed by
GitHub
parent
a7e3b1a35d
commit
197b440e96
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user