Skip to content
This repository was archived by the owner on Nov 20, 2024. It is now read-only.

Commit 886e99f

Browse files
davidmorganpq
authored andcommitted
Update google.yaml (#1094)
Add more lints to the "ban list".
1 parent e6b6976 commit 886e99f

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

example/google.yaml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,25 @@ linter:
2727

2828
# The following lints will NOT be enforced for google internal code.
2929
#
30+
# always_put_control_body_on_new_line
31+
# Violates Effective Dart "DO format your code using dartfmt". See note
32+
# about Flutter SDK style below.
3033
# avoid_relative_lib_imports
31-
# This is enforced as part of the build rather than as a lint. Since it's
34+
# Enforced as part of the build rather than as a lint. Since it's
3235
# effectively enabled it appears in the above list, too.
36+
# always_specify_types
37+
# Violates Effective Dart "AVOID type annotating initialized local
38+
# variables" and others. See note about Flutter SDK style below.
39+
# avoid_as
40+
# Does not reflect standard usage. See note about Flutter SDK style below.
3341
# empty_statements
3442
# Enforcing use of dartfmt is sufficient to make empty statements obvious.
3543
# Also, see issue #383 for discussion of false positives.
44+
# prefer_bool_in_asserts
45+
# Obsolete in Dart 2; bool is required in asserts.
46+
# prefer_final_locals
47+
# Does not reflect standard usage.
48+
#
49+
# Note on Flutter SDK Style: some lints were created specifically to support
50+
# Flutter SDK development. Flutter app developers should instead use standard
51+
# Dart style as described in Effective Dart, and should not use these lints.

0 commit comments

Comments
 (0)