From cfeca221166e922075ef7827c1d021dba30c65d3 Mon Sep 17 00:00:00 2001 From: haolun <> Date: Wed, 24 May 2023 12:05:16 +0800 Subject: [PATCH] force to remove print set print to true in x_lint and set it as warning --- lib/x_lint/x_lint.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/x_lint/x_lint.yaml b/lib/x_lint/x_lint.yaml index 0677128..74bb325 100644 --- a/lib/x_lint/x_lint.yaml +++ b/lib/x_lint/x_lint.yaml @@ -2,7 +2,7 @@ include: package:flutter_lints/flutter.yaml linter: rules: - avoid_print: false + avoid_print: true prefer_single_quotes: true prefer_const_constructors: false prefer_typing_uninitialized_variables: false @@ -47,6 +47,7 @@ analyzer: use_decorated_box: info use_enums: warning use_named_constants: warning + avoid_print: warning # Additional information about this file can be found at # https://dart.dev/guides/language/analysis-options