Enable more lints (#91642)

This commit is contained in:
Ian Hickson
2021-10-14 22:03:03 -07:00
committed by GitHub
parent 9570d353b3
commit 299d484903
42 changed files with 138 additions and 87 deletions

View File

@@ -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

View 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