mirror of https://github.com/flutter/samples.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
920 B
29 lines
920 B
# Copyright (c) 2019, 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_init_to_null
|
|
- avoid_relative_lib_imports
|
|
- avoid_return_types_on_setters
|
|
- avoid_shadowing_type_parameters
|
|
- avoid_types_as_parameter_names
|
|
- empty_constructor_bodies
|
|
- no_duplicate_case_values
|
|
- null_closures
|
|
- prefer_contains
|
|
- prefer_equal_for_default_values
|
|
- prefer_is_empty
|
|
- prefer_is_not_empty
|
|
- recursive_getters
|
|
- slash_for_doc_comments
|
|
- unawaited_futures
|
|
- unrelated_type_equality_checks
|
|
- use_rethrow_when_possible
|
|
- valid_regexps
|