Skip to content

Enable RSpec/NotToNot and Style/StringLiterals (double_quotes) - #200

Merged
dduugg merged 1 commit into
mainfrom
enable-not-to-not-and-double-quotes
Nov 30, 2026
Merged

dduugg merged 1 commit into
mainfrom
enable-not-to-not-and-double-quotes

Conversation

@dduugg

@dduugg dduugg commented Nov 30, 2026

Copy link
Copy Markdown
Contributor

Summary

Enables two cops in .rubocop.yml and fixes the resulting violations: RSpec/NotToNot and Style/StringLiterals with EnforcedStyle: double_quotes. This matches the setup the other rubyatscale gems now have since their "Add rubocop-gusto" PRs.

What changed

  • Enables RSpec/NotToNot (rubocop-gusto leaves it off by default) and autocorrects the 9 to_not calls it flags.
  • Enables Style/StringLiterals with EnforcedStyle: double_quotes and converts 41 files to match.
  • Fixes use safe autocorrect only (rubocop -a); no unsafe correction and no hand edits.

Verification

  • rubocop: 46 files, 0 offenses
  • tests: 119 examples, 0 failures
  • srb tc: no errors
  • The gem version is unchanged, so merging does not publish a release.
  • I bumped the gem version (or don't need to) 💎 (no bump needed: lint config and formatting only)

- Enables `RSpec/NotToNot` (rubocop-gusto leaves it off by default) and autocorrects the 9 `to_not` calls it flags.
- Enables `Style/StringLiterals` with `EnforcedStyle: double_quotes` and converts 41 files to match.
- Fixes use safe autocorrect only (`rubocop -a`); no unsafe correction and no hand edits.
@dduugg
dduugg requested a review from a team as a code owner November 30, 2026 21:48
@github-project-automation github-project-automation Bot moved this to Triage in Modularity Nov 30, 2026
@dduugg
dduugg merged commit 4d2e950 into main Nov 30, 2026
11 checks passed
@dduugg
dduugg deleted the enable-not-to-not-and-double-quotes branch November 30, 2026 21:59
@github-project-automation github-project-automation Bot moved this from Triage to Done in Modularity Nov 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant