Skip to content

Commit

Permalink
feat(neon_lints): enable avoid_print rule
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolas Rimikis <leptopoda@users.noreply.github.com>
  • Loading branch information
Leptopoda committed Apr 22, 2024
1 parent 4fb4ce3 commit e951337
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions packages/file_icons/analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
include: package:neon_lints/dart.yaml

linter:
rules:
avoid_print: false
3 changes: 0 additions & 3 deletions packages/neon_lints/lib/flutter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,3 @@ include: package:neon_lints/src/base.yaml
analyzer:
plugins:
- custom_lint
linter:
rules:
avoid_print: true
2 changes: 1 addition & 1 deletion packages/neon_lints/lib/src/base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ linter:
avoid_multiple_declarations_per_line: true
avoid_null_checks_in_equality_operators: true
avoid_positional_boolean_parameters: true
avoid_print: false
avoid_print: true
avoid_private_typedef_functions: true
avoid_redundant_argument_values: true
avoid_relative_lib_imports: true
Expand Down
1 change: 0 additions & 1 deletion packages/neon_lints/lint_maker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ base:
avoid_annotating_with_dynamic: false
avoid_as: false
avoid_catches_without_on_clauses: false
avoid_print: false
diagnostic_describe_all_properties: false
lines_longer_than_80_chars: false
no_default_cases: false
Expand Down
4 changes: 4 additions & 0 deletions packages/nextcloud/analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
include: package:neon_lints/dart.yaml

linter:
rules:
avoid_print: false

0 comments on commit e951337

Please sign in to comment.