From fc1f0b771a21c7dc19888e40b79cc28785c69ce6 Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Sun, 17 Mar 2024 13:01:22 -0400 Subject: [PATCH] Allow body of file-level if statement to not be indented --- .eslintrc.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.eslintrc.yml b/.eslintrc.yml index ac3a4b3cd..ffb4a0f00 100644 --- a/.eslintrc.yml +++ b/.eslintrc.yml @@ -11,8 +11,11 @@ rules: indent: - warn - 4 - no-control-regex: off - no-empty: off + - + ignoredNodes: + - Program > IfStatement > * + noControlRegex: off + noEmpty: off sort-imports: warn strict: warn globals: