forked from EGI-FCTF/rOCCI-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop.yml
49 lines (43 loc) · 999 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
37
38
39
40
41
42
43
44
45
46
47
48
# Turning off Style cops for the time being
Style:
Enabled: false
# Turning off Metrics cops for the time being
Metrics:
Enabled: false
# Turning off Performance cops for the time being
Performance:
Enabled: false
# Rubocop does not fully understand rspec syntax
Lint/UselessAssignment:
Exclude:
- 'spec/**/*'
# Unused arguments occur naturally in backends. Cannot be considered as bugs
Lint/UnusedMethodArgument:
Exclude:
- 'lib/backends/**/*'
# Only appli cops to backends
AllCops:
Include:
- 'lib/backends/**/*'
Exclude:
- '*'
- 'etc/**/*'
- '.bundle/**/*'
- 'spec/**/*'
- 'examples/**/*'
- '.git/**/*'
- 'vendor/**/*'
- 'bin/**/*'
- 'log/**/*'
- 'config/**/*'
- 'public/**/*'
- 'test/**/*'
- 'app/**/*'
- 'coverage/**/*'
- 'db/**/*'
- 'lib/authentication_strategies/**/*'
- 'lib/errors/**/*'
- 'lib/tasks/**/*'
- 'lib/request_parsers/**/*'
- 'lib/assets/**/*'
- 'lib/hooks/**/*'