Add pkg:pedantic lints
MODIFY
analysis_options.yaml
analysis_options.yaml
+include: package:pedantic/analysis_options.yaml
linter:
rules:
- always_declare_return_types

MODIFY
pubspec.yaml
pubspec.yaml
@@ -18,5 +18,6 @@ dev_dependencies:
build_test: any
build_web_compilers: any
json_serializable: ^2.0.0
- test: ^1.3.0
mockito: ^3.0.0
+ pedantic: ^1.0.0
+ test: ^1.3.0

Add pkg:pedantic lints