-
-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor/manual rubocop fixes part3 (#262)
* Add rubocop linting job * Remove redundant cop * Tidy up and remove all redundant items from overall cop config - just leaving param names to be re-reviewed * Param name cop is no longer relevant in 2023 * Add upgrading docs for v13 of core * FIx Lint/UselessAssignment * Fix Naming/PredicateName * Partial fix for Example Length in compilter spec * Partial fix for Example length in result spec * Partial fix for ExampleLength in runner spec * Partial fix for ExampleLength in core spec * Fix RSpec/ExpectInHook * Remove some redundant tests that basically test the ruby language * Fix IteratedExpectation * Update cucumber styles to mitigate further incorrect cop offenses * Fix RSpec/RepeatedDescription * Regen TODO file. Mark improvement in history * Add PR ref in for strict keyword change * Add changelog refs about rubocop fixes
- Loading branch information
Showing
15 changed files
with
749 additions
and
742 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: Lint | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
rubocop: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: 2.5 | ||
bundler-cache: true | ||
- run: bundle exec rubocop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.