Skip to content

Commit 3d86813

Browse files
authored
Merge pull request #6120 from thejonroberts/standard-plugins
Linting: Standard rubocop plugins
2 parents 7ff0533 + 237974d commit 3d86813

File tree

250 files changed

+2859
-1281
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

250 files changed

+2859
-1281
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ yarn-debug.log*
3838

3939
.rails_routes*
4040
.vscode
41-
.rubocop.yml
4241

4342
coverage/
4443
.idea/

.rubocop.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
require:
2+
- rubocop-capybara
3+
- rubocop-factory_bot
4+
- rubocop-rspec
5+
- rubocop-rspec_rails
6+
7+
inherit_gem:
8+
pundit: config/rubocop-rspec.yml

.standard.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
extend_config:
2+
- .rubocop.yml
3+
4+
plugins:
5+
- standard-rails
6+
17
ignore:
28
- 'storage/**/*'
3-
- 'lib/tasks/deployment/20201005203405_populate_case_contact_contact_type.rake'
9+
- 'db/migrate/2020*.rb'
10+
- 'db/migrate/2021*.rb'
11+
- 'db/migrate/2022*.rb'
12+
- 'db/migrate/2023*.rb'
13+
- 'db/migrate/202405*.rb'
14+
- 'db/migrate/202406*.rb'
15+
- 'lib/tasks/deployment/2020*'
16+
- 'lib/tasks/deployment/2021*'
17+
- 'lib/tasks/deployment/2022*'
18+
- 'lib/tasks/deployment/2023*'

0 commit comments

Comments
 (0)