From db171128b0a7f701da31ca9c541cf1c91338c951 Mon Sep 17 00:00:00 2001 From: haolun <> Date: Mon, 23 Oct 2023 15:06:05 +0800 Subject: [PATCH] add prefer_adjacent_string_concatenation for error --- lib/x_lint/x_lint.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/x_lint/x_lint.yaml b/lib/x_lint/x_lint.yaml index 74bb325..e0d6b22 100644 --- a/lib/x_lint/x_lint.yaml +++ b/lib/x_lint/x_lint.yaml @@ -29,6 +29,7 @@ linter: use_decorated_box: true use_enums: true use_named_constants: true + prefer_adjacent_string_concatenation: true analyzer: errors: @@ -48,6 +49,7 @@ analyzer: use_enums: warning use_named_constants: warning avoid_print: warning + prefer_adjacent_string_concatenation: error # Additional information about this file can be found at # https://dart.dev/guides/language/analysis-options