adjust a regex for intl files
This commit is contained in:
parent
780e4e6212
commit
b9fafc1765
@ -387,7 +387,7 @@ class AnalyzeCommand extends FlutterCommand {
|
|||||||
} else if (filename.endsWith('.mojom.dart')) {
|
} else if (filename.endsWith('.mojom.dart')) {
|
||||||
// autogenerated code - TODO(ianh): Fix the Dart mojom compiler
|
// autogenerated code - TODO(ianh): Fix the Dart mojom compiler
|
||||||
shouldIgnore = true;
|
shouldIgnore = true;
|
||||||
} else if ((sourceLines[0] == '/**') && (' * DO NOT EDIT. This is code generated'.matchAsPrefix(sourceLines[1]) != null)) {
|
} else if ((sourceLines[0] == '/*') && (' * DO NOT EDIT. This is code generated'.matchAsPrefix(sourceLines[1]) != null)) {
|
||||||
// autogenerated code - TODO(ianh): Fix the intl package resource generator
|
// autogenerated code - TODO(ianh): Fix the intl package resource generator
|
||||||
shouldIgnore = true;
|
shouldIgnore = true;
|
||||||
} else if (level == 'lint' && errorMessage == 'Name non-constant identifiers using lowerCamelCase.') {
|
} else if (level == 'lint' && errorMessage == 'Name non-constant identifiers using lowerCamelCase.') {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user