You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by vl...@apache.org on 2023/05/11 07:09:50 UTC

[jmeter] branch master updated: style: add .editorconfig to force braces in for, do, while, and if statements

This is an automated email from the ASF dual-hosted git repository.

vladimirsitnikov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jmeter.git


The following commit(s) were added to refs/heads/master by this push:
     new 194a1a94b7 style: add .editorconfig to force braces in for, do, while, and if statements
194a1a94b7 is described below

commit 194a1a94b793f4dbfebf3cd05c2f67f6ceb09e4e
Author: Vladimir Sitnikov <si...@gmail.com>
AuthorDate: Thu May 11 10:08:59 2023 +0300

    style: add .editorconfig to force braces in for, do, while, and if statements
---
 .editorconfig | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.editorconfig b/.editorconfig
index 582e06e785..5f44ca2b08 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -7,6 +7,10 @@ charset = utf-8
 indent_style = space
 max_line_length = 120
 ij_any_align_multiline_parameters = false
+ij_any_do_while_brace_force = always
+ij_any_for_brace_force = always
+ij_any_if_brace_force = always
+ij_any_while_brace_force = always
 
 [{*.sh,gradlew}]
 end_of_line = lf