1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
Commit graph

9 commits

Author SHA1 Message Date
kazu
7aacb65015 Remove duplicated and change order
`reg*` affects `doc/regexp.rdoc`, but it is not a file of the Oniguruma/Onigmo regular expression engine.
`reg*.[ch]` matches `reg*` except `doc/regexp.rdoc`.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-03-21 03:24:59 +00:00
duerst
e2d1bb1fa4 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]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-02-26 01:34:17 +00:00
kazu
9df3c8565b Set indent_size of reg*.[ch] to 2 [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-10-03 07:43:13 +00:00
kazu
224bbbdc3a .editorconfig: Use spaces instead of tab except Makefiles
ref [Bug #14246]
[ci skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-01-25 00:11:52 +00:00
kazu
29c1321a84 Add *.gemspec to .editorconfig [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-09-12 11:15:27 +00:00
kazu
4887aa190a Sort properties in .editorconfig [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-09-12 11:15:26 +00:00
kazu
50df046783 Use * instead of ** in .editorconfig
It seems `**` is same as `*` when no `/` exist.
[ci skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-08-17 12:31:10 +00:00
kazu
577a37dd29 Add config for *.yml [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-10-30 11:57:41 +00:00
nobu
fdd8d5badc .editorconfig: new
* .editorconfig: add.  [ruby-core:47548] [Feature #7030]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-15 23:16:15 +00:00