forked from apiology/source_finder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
36 lines (33 loc) · 805 Bytes
/
.rubocop.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# I like trailing commas in maps. They let me insert new elements and
# see them as one line in a diff, not two.
TrailingComma:
Enabled: false
# I use keyword arguments for a poor man's dependency injection to cut
# down on the magic in my tests.
ParameterLists:
CountKeywordArgs: false
# If i'm using one function name and returning the contents of an
# attribute, that's OK. The alternative would be this, which I find
# confusing and often not really what I mean:
#
# attr_reader :something_else
# alias_method :something, :something_else
TrivialAccessors:
ExactNameMatch: true
#
# Add 'XX X' to the standard list
#
Style/CommentAnnotation:
Keywords:
- "TOD\
O"
- "FIXM\
E"
- "OPTIMIZ\
E"
- "HAC\
K"
- "REVIE\
W"
- "XX\
X"