Ma Sapereaude
02/20/2023, 11:26 AMPaul Dingemans
02/20/2023, 12:10 PMstopTraversalOfAST function.Sha Sha Chu
02/20/2023, 8:11 PMPaul Dingemans
02/20/2023, 8:16 PM[/some/dir/*.{kt,kts}]
ktlint_custom-rule-set_custom-rule = disabled
Most difficult thing is that this Glob might overlap with the default glob [*.{kt.kts}] .
So it will depend on your use case what is most preferable.Ma Sapereaude
02/20/2023, 11:54 PMstopTraversalOfAST in older Ktlint versions, for example, in 0.37.2 v.?Paul Dingemans
02/21/2023, 11:28 AMstopTraversalOfAST the visit method was called for each and every node in the AST. Usually that method contained a if-statement at the top to determine whether something needed to be done or not.