Added lints for ERB templates (#609)

* Added erblint and fixed offenses

* Added erblint bintstub. Included erblint into CI

* Merged GitHub Actions tasks for rubocop and erblint into one

* Added config for erblint.

* Reverted erblint call in the CI
This commit is contained in:
Igor Alexandrov
2024-04-09 16:08:58 +04:00
committed by GitHub
parent 21e2d05d0c
commit b5c56f7775
49 changed files with 201 additions and 160 deletions

View File

@@ -54,6 +54,9 @@ jobs:
- name: Lint code for consistent style
run: bin/rubocop -f github
- name: Lint templates for consistent style
run: ./bin/erblint ./app/**/*.erb
test:
runs-on: ubuntu-latest
timeout-minutes: 10