Skip to content

Commit

Permalink
Enable the default set of lints from pkg:pedantic
Browse files Browse the repository at this point in the history
  • Loading branch information
kevmoo committed Sep 19, 2018
1 parent 306c23a commit e7a3105
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Copyright (c) 2018, the Dart project authors. Please see the AUTHORS file
# for details. All rights reserved. Use of this source code is governed by a
# BSD-style license that can be found in the LICENSE file.
#
# Google internally enforced rules. See README.md for more information,
# including a list of lints that are intentionally _not_ enforced.

linter:
rules:
- avoid_empty_else
- avoid_relative_lib_imports
- avoid_return_types_on_setters
- avoid_types_as_parameter_names
- control_flow_in_finally
- no_duplicate_case_values
- prefer_contains
- prefer_equal_for_default_values
- prefer_is_not_empty
- recursive_getters
- throw_in_finally
- unrelated_type_equality_checks
- use_rethrow_when_possible
- valid_regexps

0 comments on commit e7a3105

Please sign in to comment.