mirror of
https://github.com/discourse/discourse.git
synced 2024-12-24 04:13:42 +08:00
f7d7092a7a
The lastest version of rubocop-discourse enables rules regarding plugins.
38 lines
731 B
YAML
38 lines
731 B
YAML
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/**/*
|