-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add minimal rubocop config to dev workflow (#753)
* Add minimal rubocop config to dev workflow * Add Rubucop TODO --------- Co-authored-by: Camille Villa <5402927+camillevilla@users.noreply.github.com>
- Loading branch information
1 parent
2ee4b3a
commit 57c6e6c
Showing
5 changed files
with
1,263 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# The behavior of RuboCop can be controlled via the .rubocop.yml | ||
# configuration file. It makes it possible to enable/disable | ||
# certain cops (checks) and to alter their behavior if they accept | ||
# any parameters. The file can be placed either in your home | ||
# directory or in some project directory. | ||
# | ||
# RuboCop will start looking for the configuration file in the directory | ||
# where the inspected file is and continue its way up to the root directory. | ||
# | ||
# See https://docs.rubocop.org/rubocop/configuration | ||
|
||
|
||
inherit_from: .rubocop_todo.yml | ||
require: | ||
- rubocop-rspec | ||
- rubocop-performance | ||
- rubocop-rails | ||
|
||
AllCops: | ||
TargetRubyVersion: 3.2 | ||
NewCops: enable | ||
|
||
Gemspec: | ||
Enabled: true | ||
Layout: | ||
Enabled: false | ||
Lint: | ||
Enabled: true | ||
Performance: | ||
Enabled: true | ||
Rails: | ||
Enabled: true | ||
RSpec: | ||
Enabled: true | ||
Security: | ||
Enabled: true | ||
Style: | ||
Enabled: false |
Oops, something went wrong.