Skip to content

Commit

Permalink
use pedantic-1.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
a14n committed Mar 22, 2019
1 parent 50310db commit ba4c310
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 19 deletions.
20 changes: 1 addition & 19 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,28 +1,10 @@
include: package:pedantic/analysis_options.yaml
linter:
rules:
- avoid_empty_else
- avoid_init_to_null
- avoid_null_checks_in_equality_operators
- avoid_relative_lib_imports
- avoid_return_types_on_setters
- avoid_returning_null_for_future
- avoid_returning_null_for_void
- avoid_shadowing_type_parameters
- avoid_types_as_parameter_names
- empty_constructor_bodies
- no_duplicate_case_values
- null_closures
- prefer_conditional_assignment
- prefer_const_constructors
- prefer_contains
- prefer_equal_for_default_values
- prefer_is_empty
- prefer_is_not_empty
- prefer_null_aware_operators
- prefer_void_to_null
- recursive_getters
- slash_for_doc_comments
- unawaited_futures
- unrelated_type_equality_checks
- use_rethrow_when_possible
- valid_regexps
1 change: 1 addition & 0 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ dev_dependencies:
xml: ^3.2.0
coverage: ^0.12.2
coveralls: ^3.2.0
pedantic: 1.5.0

0 comments on commit ba4c310

Please sign in to comment.