summaryrefslogtreecommitdiffhomepage
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorGeremia Taglialatela <[email protected]>2023-04-05 18:19:07 +0200
committerGeremia Taglialatela <[email protected]>2023-04-07 18:58:37 +0200
commita058946a0d78771157b07f1803527a2263c44dd7 (patch)
tree801b561b27632020db11c6902f47712d3789ed62 /.rubocop.yml
parentc9133ad108ca80c5d99195a70a9bdd95e50dde1a (diff)
downloadcaxlsx-a058946a0d78771157b07f1803527a2263c44dd7.tar.gz
caxlsx-a058946a0d78771157b07f1803527a2263c44dd7.zip
Add RuboCop workflow and configuration
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
new file mode 100644
index 00000000..fe5b876a
--- /dev/null
+++ b/.rubocop.yml
@@ -0,0 +1,13 @@
+inherit_from: .rubocop_todo.yml
+
+AllCops:
+ NewCops: enable
+ SuggestExtensions: false
+ TargetRubyVersion: 2.3
+ Exclude:
+ - 'docs/**/*'
+ - 'examples/**/*'
+ - 'vendor/bundle/**/*'
+
+Layout/CommentIndentation:
+ AllowForAlignment: true