Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- name: "Build Ruby"
uses: "ruby/setup-ruby@v1"
with:
ruby-version: 2.7
ruby-version: 3.2

- name: "Build Node"

Expand All @@ -59,9 +59,12 @@ jobs:
run: >
gem install --no-document
rubocop
rubocop-rspec
rubocop-rails
rubocop-capybara
rubocop-factory_bot
rubocop-performance
rubocop-rails
rubocop-rspec
rubocop-thread_safety

- name: "Install Node Modules"
run: >
Expand Down Expand Up @@ -173,6 +176,6 @@ jobs:
run: |
yamllint -f "github" -d ".yamllint" .

- name: "Run Remark"
run: |
remark --ignore-path .markdownlintignore --silently-ignore **/*.md .**/*.md
# - name: "Run Remark"
# run: |
# remark --ignore-path .markdownlintignore --silently-ignore **/*.md .**/*.md
6 changes: 3 additions & 3 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ jobs:
runs-on: "ubuntu-latest"

strategy:
fail-fast: false
matrix:
ruby:
- "2.7"
- "3.0"
- "3.1"
- "3.2"
- "3.3"
- "3.4"
- "ruby-head"

continue-on-error: ${{ endsWith(matrix.ruby, 'head') }}
Expand Down
13 changes: 11 additions & 2 deletions .rubocop_capybara.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,33 @@
---

# Last updated to 2.21.0
# Last updated to 2.22.1

require:
plugins:
- 'rubocop-capybara'

Capybara/AmbiguousClick:
Enabled: true

Capybara/ClickLinkOrButtonStyle:
Enabled: true
EnforcedStyle: 'link_or_button'

Capybara/CurrentPathExpectation:
Enabled: true

Capybara/FindAllFirst:
Enabled: true

Capybara/MatchStyle:
Enabled: true

Capybara/NegationMatcher:
Enabled: true
EnforcedStyle: 'have_no'

Capybara/NegationMatcherAfterVisit:
Enabled: true

Capybara/RedundantWithinFind:
Enabled: true

Expand Down
Loading