Enable more lints (#91642)
This commit is contained in:
@@ -2,5 +2,10 @@ include: ../analysis_options.yaml
|
||||
|
||||
linter:
|
||||
rules:
|
||||
avoid_print: false # We use prints as debugging tools here all the time.
|
||||
only_throw_errors: false # Tests use a less... rigorous style.
|
||||
avoid_print: false # We use prints as debugging tools here a lot.
|
||||
|
||||
# Tests try to throw and catch things in exciting ways all the time, so
|
||||
# we disable these lints for the tests.
|
||||
only_throw_errors: false
|
||||
avoid_catching_errors: false
|
||||
avoid_catches_without_on_clauses: false
|
||||
|
||||
5
dev/bots/analysis_options.yaml
Normal file
5
dev/bots/analysis_options.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
include: ../analysis_options.yaml
|
||||
|
||||
linter:
|
||||
rules:
|
||||
avoid_js_rounded_ints: false # CLI code doesn't need to worry about JS issues
|
||||
Reference in New Issue
Block a user