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

lprimak pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/shiro.git


The following commit(s) were added to refs/heads/main by this push:
     new 78838bea1 yamllint add rule checking for braces and brackets (#2528)
78838bea1 is described below

commit 78838bea1569349b22b86bb2afea7d9aaca4e332
Author: John Bampton <[email protected]>
AuthorDate: Tue Feb 10 02:48:41 2026 +1000

    yamllint add rule checking for braces and brackets (#2528)
    
    No changes to the codebase using these two rules and their settings.
    
    
https://yamllint.readthedocs.io/en/stable/rules.html#module-yamllint.rules.braces
    
    
https://yamllint.readthedocs.io/en/stable/rules.html#module-yamllint.rules.brackets
---
 .github/linters/.yaml-lint.yml | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/.github/linters/.yaml-lint.yml b/.github/linters/.yaml-lint.yml
index 0915e6a7b..4adac93e9 100644
--- a/.github/linters/.yaml-lint.yml
+++ b/.github/linters/.yaml-lint.yml
@@ -20,8 +20,12 @@
 extends: default
 
 rules:
-  braces: disable
-  brackets: disable
+  braces:
+    min-spaces-inside: 1
+    max-spaces-inside: 1
+  brackets:
+    min-spaces-inside: 0
+    max-spaces-inside: 1
   comments:
     ignore-shebangs: true
     min-spaces-from-content: 1

Reply via email to