refactor: add no_useless_else lint rule

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
This commit is contained in:
Saw-jan
2025-06-19 10:58:37 +05:45
parent 43865a9646
commit 625dc16417
12 changed files with 51 additions and 68 deletions

View File

@@ -28,6 +28,7 @@ $config->setFinder($finder)
'array_indentation' => true,
'method_chaining_indentation' => true,
'trailing_comma_in_multiline' => true,
'no_useless_else' => true,
]
)
);