diff options
author | David Gay <eapoems@riseup.net> | 2023-10-29 23:32:50 -0400 |
---|---|---|
committer | David Gay <eapoems@riseup.net> | 2023-10-29 23:32:50 -0400 |
commit | 1088c36ffb0c9b215492fc9c5a8c61a251ef97b2 (patch) | |
tree | 79180fe642f70e449bd67140ac2abf2e0531e0e9 /.erb-lint.yml | |
parent | c1b1899c30e626324deebb4f1afbb2d6546db6f3 (diff) |
Install and configure erb-lint
Diffstat (limited to '.erb-lint.yml')
-rw-r--r-- | .erb-lint.yml | 22 |
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/**/*" |