This repository has been archived by the owner on May 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make the RubocopProtectionInterface simpler to support easier rubocop…
… based package protections (#10) * By default, a protection has no unmet preconditions * add cop name to the interface * move get_offenses_for_existing_violations into interface, fix tests * remove cop name constant * remove root package restriction * add back custom message for fail on any * move cop configs to rubocop interface * organize code into abstract vs overiddable * bump version * move namespace package protection interface into cop * move typed api protection interface into cop * rubocop * tc
- Loading branch information
Alex Evanczuk
authored
Jun 30, 2022
1 parent
0c312f7
commit 0280038
Showing
10 changed files
with
238 additions
and
265 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
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
128 changes: 0 additions & 128 deletions
128
lib/package_protections/private/multiple_namespaces_protection.rb
This file was deleted.
Oops, something went wrong.
106 changes: 0 additions & 106 deletions
106
lib/package_protections/private/typed_api_protection.rb
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.