]> cat aescling's git repositories - mastodon.git/blob - .rubocop.yml
add an explanatory comment to AccountInteractions
[mastodon.git] / .rubocop.yml
1 AllCops:
2 TargetRubyVersion: 2.3
3 Exclude:
4 - 'spec/**/*'
5 - 'db/**/*'
6 - 'app/views/**/*'
7 - 'config/**/*'
8 - 'bin/*'
9 - 'Rakefile'
10 - 'node_modules/**/*'
11 - 'Vagrantfile'
12 - 'vendor/**/*'
13 - 'lib/json_ld/*'
14
15 Bundler/OrderedGems:
16 Enabled: false
17
18 Layout/AccessModifierIndentation:
19 EnforcedStyle: indent
20
21 Layout/EmptyLineAfterMagicComment:
22 Enabled: false
23
24 Layout/SpaceInsideHashLiteralBraces:
25 EnforcedStyle: space
26
27 Metrics/AbcSize:
28 Max: 100
29
30 Metrics/BlockLength:
31 Max: 35
32 Exclude:
33 - 'lib/tasks/**/*'
34
35 Metrics/BlockNesting:
36 Max: 3
37
38 Metrics/ClassLength:
39 CountComments: false
40 Max: 300
41
42 Metrics/CyclomaticComplexity:
43 Max: 25
44
45 Metrics/LineLength:
46 AllowURI: true
47 Enabled: false
48
49 Metrics/MethodLength:
50 CountComments: false
51 Max: 55
52
53 Metrics/ModuleLength:
54 CountComments: false
55 Max: 200
56
57 Metrics/ParameterLists:
58 Max: 5
59 CountKeywordArgs: true
60
61 Metrics/PerceivedComplexity:
62 Max: 20
63
64 Rails:
65 Enabled: true
66
67 Rails/HasAndBelongsToMany:
68 Enabled: false
69
70 Rails/SkipsModelValidations:
71 Enabled: false
72
73 Style/ClassAndModuleChildren:
74 Enabled: false
75
76 Style/CollectionMethods:
77 Enabled: true
78 PreferredMethods:
79 find_all: 'select'
80
81 Style/Documentation:
82 Enabled: false
83
84 Style/DoubleNegation:
85 Enabled: true
86
87 Style/FrozenStringLiteralComment:
88 Enabled: true
89
90 Style/GuardClause:
91 Enabled: false
92
93 Style/Lambda:
94 Enabled: false
95
96 Style/PercentLiteralDelimiters:
97 PreferredDelimiters:
98 '%i': '()'
99 '%w': '()'
100
101 Style/PerlBackrefs:
102 AutoCorrect: false
103
104 Style/RegexpLiteral:
105 Enabled: false
106
107 Style/SymbolArray:
108 Enabled: false
109
110 Style/TrailingCommaInLiteral:
111 EnforcedStyleForMultiline: 'comma'
This page took 0.073877 seconds and 4 git commands to generate.