forked from discourse/discourse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop.yml
42 lines (32 loc) · 806 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
inherit_gem:
rubocop-discourse: stree-compat.yml
# Still work to do in ensuring we don't link old files
Discourse/NoAddReferenceOrAliasesActiveRecordMigration:
Enabled: false
Discourse/NoResetColumnInformationInMigrations:
Enabled: true
Discourse/Plugins/CallRequiresPlugin:
Include:
- "plugins/*/app/controllers/**/*"
Discourse/Plugins/UsePluginInstanceOn:
Include:
- "plugins/**/*"
Discourse/Plugins/NamespaceMethods:
Include:
- "plugins/**/*"
Discourse/Plugins/NamespaceConstants:
Include:
- "plugins/**/*"
Discourse/Plugins/UseRequireRelative:
Include:
- "plugins/**/*"
Discourse/Plugins/NoMonkeyPatching:
Include:
- "plugins/**/*"
Lint/Debugger:
Exclude:
- script/**/*
RSpec/InstanceVariable:
Enabled: true
Include:
- spec/models/**/*