summaryrefslogtreecommitdiff
path: root/.erb-lint.yml
diff options
context:
space:
mode:
Diffstat (limited to '.erb-lint.yml')
-rw-r--r--.erb-lint.yml22
1 files changed, 22 insertions, 0 deletions
diff --git a/.erb-lint.yml b/.erb-lint.yml
new file mode 100644
index 0000000..20c9008
--- /dev/null
+++ b/.erb-lint.yml
@@ -0,0 +1,22 @@
+---
+EnableDefaultLinters: true
+linters:
+ Rubocop:
+ enabled: true
+ rubocop_config:
+ inherit_from:
+ - .rubocop.yml
+ Layout/InitialIndentation:
+ Enabled: false
+ Layout/TrailingEmptyLines:
+ Enabled: false
+ Layout/TrailingWhitespace:
+ Enabled: false
+ Layout/LeadingEmptyLines:
+ Enabled: false
+ # False flags for view files.
+ # ViewComponents should never see this, though, as they should never need to assign in a view.
+ Lint/UselessAssignment:
+ Exclude:
+ - "app/jobs/**/*"
+ - "app/views/**/*"