summaryrefslogtreecommitdiff
path: root/www/wiki/extensions/Translate/.rubocop.yml
diff options
context:
space:
mode:
authorYaco <franco@reevo.org>2020-06-04 11:01:00 -0300
committerYaco <franco@reevo.org>2020-06-04 11:01:00 -0300
commitfc7369835258467bf97eb64f184b93691f9a9fd5 (patch)
treedaabd60089d2dd76d9f5fb416b005fbe159c799d /www/wiki/extensions/Translate/.rubocop.yml
first commit
Diffstat (limited to 'www/wiki/extensions/Translate/.rubocop.yml')
-rw-r--r--www/wiki/extensions/Translate/.rubocop.yml28
1 files changed, 28 insertions, 0 deletions
diff --git a/www/wiki/extensions/Translate/.rubocop.yml b/www/wiki/extensions/Translate/.rubocop.yml
new file mode 100644
index 00000000..9f1c7c0b
--- /dev/null
+++ b/www/wiki/extensions/Translate/.rubocop.yml
@@ -0,0 +1,28 @@
+inherit_from: .rubocop_todo.yml
+
+AllCops:
+ Exclude:
+ - 'extensions/**/*'
+ - 'vendor/**/*'
+
+AllCops:
+ StyleGuideCopsOnly: true
+
+# Uncomment when lines are under 100 lenghth
+# Metrics/LineLength:
+# Max: 100
+
+Metrics/MethodLength:
+ Enabled: false
+
+Style/Alias:
+ Enabled: false
+
+Style/SignalException:
+ Enabled: false
+
+Style/StringLiterals:
+ EnforcedStyle: single_quotes
+
+Style/TrivialAccessors:
+ ExactNameMatch: true