You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 22, 2023. It is now read-only.
for (int index =0; index < lines.length; index +=1) {
1851
+
finalString line = lines[index];
1852
+
finalMatch? match = tabooPattern.firstMatch(line);
1853
+
if (match !=null) {
1854
+
errors.add('${file.path}:${index + 1}: Found use of the taboo word "${match.group(1)}" in documentation string.');
1855
+
}
1856
+
}
1857
+
}
1858
+
if (errors.isNotEmpty) {
1859
+
foundError(<String>[
1860
+
'${bold}Avoid the word "simply" in documentation. See https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo#use-the-passive-voice-recommend-do-not-require-never-say-things-are-simple for details.$reset',
1861
+
'${bold}In many cases the word can be omitted without loss of generality; in other cases it may require a bit of rewording to avoid implying that the task is simple.$reset',
0 commit comments