adjust the lints for dart samples (#670)
diff --git a/tool/grind.dart b/tool/grind.dart
index 2e1d059..209ecad 100644
--- a/tool/grind.dart
+++ b/tool/grind.dart
@@ -379,20 +379,11 @@
}
String createDartAnalysisOptions() {
- // TODO(gspencergoog): Update this to Dart "recommended" list once that is finalized.
+ // TODO(gspencergoog): Update this to Dart "recommended" list once that is
+ // finalized.
return '''
-analyzer:
- errors:
- # Increase the severity of some hints.
- - unused_import: warning
-
linter:
rules:
- # Ordering lints.
- - directives_ordering
- - sort_pub_dependencies
-
- # All other lints.
- always_declare_return_types
- avoid_empty_else
- avoid_relative_lib_imports