ruby-changes:54927
From: duerst <ko1@a...>
Date: Tue, 26 Feb 2019 10:34:24 +0900 (JST)
Subject: [ruby-changes:54927] duerst:r67132 (trunk): add exceptions for indenting conventions for files related to regular expressions
duerst 2019-02-26 10:34:17 +0900 (Tue, 26 Feb 2019) New Revision: 67132 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=67132 Log: add exceptions for indenting conventions for files related to regular expressions Ruby uses the Oniguruma/Onigmo regular expression engine, including the underlying character encoding framework. In contrast to other code implementing Ruby, the regular expression engine related code is formatted with two spaces per indent level. This commit adds rules for these files. (The commit may not completely cover all related files.) [ci skip] Modified files: trunk/.editorconfig Index: .editorconfig =================================================================== --- .editorconfig (revision 67131) +++ .editorconfig (revision 67132) @@ -11,6 +11,12 @@ trim_trailing_whitespace = true https://github.com/ruby/ruby/blob/trunk/.editorconfig#L11 [*.bat] end_of_line = crlf +[reg*] +indent_size = 2 + +[enc/*] +indent_size = 2 + [*.gemspec] indent_size = 2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/