summaryrefslogtreecommitdiffstats
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorJack Bates <jack@nottheoilrig.com>2020-04-12 08:23:31 -0700
committerGitHub <noreply@github.com>2020-04-13 00:23:31 +0900
commit5deaf589281ff606874bc7db2fd01ed7cf1e7f45 (patch)
treec1ea78d72584f8091d92195db75b5ddde63f0f0f /.rubocop.yml
parent15e2952a2b81cdccec993e1b0e3c5d59d78f8b16 (diff)
Run rubocop --auto-correct --disable-uncorrectable (#1967)
Co-authored-by: Junegunn Choi <junegunn.c@gmail.com>
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml24
1 files changed, 24 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
new file mode 100644
index 00000000..496b049e
--- /dev/null
+++ b/.rubocop.yml
@@ -0,0 +1,24 @@
+Layout/LineLength:
+ Enabled: false
+Metrics:
+ Enabled: false
+Lint/ShadowingOuterLocalVariable:
+ Enabled: false
+Style/MethodCallWithArgsParentheses:
+ Enabled: true
+ IgnoredMethods:
+ - assert
+ - exit
+ - paste
+ - puts
+ - raise
+ - refute
+ - require
+ - send_keys
+ IgnoredPatterns:
+ - ^assert_
+ - ^refute_
+Style/NumericPredicate:
+ Enabled: false
+Style/WordArray:
+ MinSize: 1