Skip to content

Configure and fix Rubocop redundant disabling/enabling#5711

Merged
aduth merged 1 commit intomainfrom
aduth-rubocop-redundant-disables
Dec 15, 2021
Merged

Configure and fix Rubocop redundant disabling/enabling#5711
aduth merged 1 commit intomainfrom
aduth-rubocop-redundant-disables

Conversation

@aduth
Copy link
Contributor

@aduth aduth commented Dec 15, 2021

Why: Because the inline configuration should only be used in cases where we're expecting a cop failure to otherwise occur.

Resources:

**Why**: Because the inline configuration should only be used in cases where we're expecting a cop failure to otherwise occur.
@aduth aduth force-pushed the aduth-rubocop-redundant-disables branch from 1014b0b to a8c43b1 Compare December 15, 2021 14:47
Copy link
Contributor

@mitchellhenke mitchellhenke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, so it is possible! I couldn't figure it out in #5655

👍🏼

@aduth
Copy link
Contributor Author

aduth commented Dec 15, 2021

Ah, so it is possible! I couldn't figure it out in #5655

Yeah, it also appears that the cop been renamed at least once in its history, which made it more difficult to search for and use (previously Lint/UnneededDisable).

@aduth aduth merged commit 9ad25ed into main Dec 15, 2021
@aduth aduth deleted the aduth-rubocop-redundant-disables branch December 15, 2021 15:27
nathanberg added a commit that referenced this pull request Dec 16, 2021
* main: (50 commits)
  LG-5325 Doc Auth: Error dependent hints and enhanced field level errors (#5708)
  Setup platform authentication (#5632)
  Remove unused i18n keys by replacing dynamic key generation with static enumeration (#5706)
  Configure and fix Rubocop redundant disabling/enabling (#5711)
  LG-4575: accessiblility issue where no file selected still shows after adding file.  (#5691)
  Update rails to 6.1.4.3 (#5710)
  Add remote SAML Logout endpoint (#5676)
  Update "Frontend" CSS docs to reflect current approach (#5695)
  LG-3795 Harden CSP against JSONP endpoints on "safe" domains (#5704)
  LG-5261: Add cancel page logging to "Go Back" button (#5697)
  Add flow path to post doc capture submission events (LG-5257) (#5690)
  Log all vendor status in VendorStatus#track_event (#5703)
  Remove accept-terms-button in favor of ValidatedFieldComponent (#5687)
  Upgrade as many outdated Ruby dependencies as possible (LG-3828) (#5694)
  Remove BassCSS flex-object styling (#5702)
  Remove unused personal-key pattern validation message (#5701)
  Smoke tests in GitLab CI (#5699)
  Show a message in lower envs explaining how to use test SSNs (#5696)
  Remove temporary routes for SP redirects (#5679)
  LG-5262: Add logging to continue button on letter wait page (#5688)
  ...
jmhooper pushed a commit that referenced this pull request Dec 28, 2021
**Why**: Because the inline configuration should only be used in cases where we're expecting a cop failure to otherwise occur.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants