-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add evil martians' setup for brower tests * Add standard config for rubocop * Use double quotes in gemfile * Add test-prof, update specs setup and add POC system spec * Fix failing alert specs * Fix failing message model specs * Fix failing orgs model specs * Fix rubocop format offenses, skip failing system spec for refactoring * Fix autocorrectable offenses; remove unused files * Update Github actions workflow * Update rubocop todo * Update rubocop todo * Update test_id for home search btn * Setup node * Set node minor version * Upgrade rails minor version (fixes vulnerabilities) * Remove develop branch
- Loading branch information
Showing
206 changed files
with
2,290 additions
and
1,900 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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,7 +1,26 @@ | ||
inherit_from: .rubocop_todo.yml | ||
inherit_mode: | ||
merge: | ||
- Exclude | ||
|
||
require: | ||
- standard | ||
- standard-custom | ||
- standard-performance | ||
- rubocop-performance | ||
- rubocop-rails | ||
|
||
inherit_gem: | ||
standard: config/base.yml | ||
standard-performance: config/base.yml | ||
standard-custom: config/base.yml | ||
standard-rails: config/base.yml | ||
|
||
inherit_from: | ||
- .rubocop/rspec.yml | ||
- .rubocop/custom.yml | ||
- .rubocop_todo.yml | ||
- .rubocop/strict.yml | ||
|
||
AllCops: | ||
NewCops: enable | ||
Exclude: | ||
- 'db/**/*' | ||
- 'bin/*' | ||
SuggestExtensions: false | ||
TargetRubyVersion: 3.1 |
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 @@ | ||
# Put custom cops here |
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,55 @@ | ||
require: | ||
- rubocop-rspec | ||
|
||
# Disable all cops by default, | ||
# only enable those defined explcitly in this configuration file | ||
RSpec: | ||
Enabled: false | ||
|
||
RSpec/Focus: | ||
Enabled: true | ||
|
||
RSpec/EmptyExampleGroup: | ||
Enabled: true | ||
|
||
RSpec/EmptyLineAfterExampleGroup: | ||
Enabled: true | ||
|
||
RSpec/EmptyLineAfterFinalLet: | ||
Enabled: true | ||
|
||
RSpec/EmptyLineAfterHook: | ||
Enabled: true | ||
|
||
RSpec/EmptyLineAfterSubject: | ||
Enabled: true | ||
|
||
RSpec/HookArgument: | ||
Enabled: true | ||
|
||
RSpec/HooksBeforeExamples: | ||
Enabled: true | ||
|
||
RSpec/ImplicitExpect: | ||
Enabled: true | ||
|
||
RSpec/IteratedExpectation: | ||
Enabled: true | ||
|
||
RSpec/LetBeforeExamples: | ||
Enabled: true | ||
|
||
RSpec/MissingExampleGroupArgument: | ||
Enabled: true | ||
|
||
RSpec/ReceiveCounts: | ||
Enabled: true | ||
|
||
Capybara/CurrentPathExpectation: | ||
Enabled: true | ||
|
||
FactoryBot/AttributeDefinedStatically: | ||
Enabled: true | ||
|
||
FactoryBot/CreateList: | ||
Enabled: true |
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,24 @@ | ||
# Inherit from TODO here to make sure we enforce the rules below | ||
# (and TODO is ignored) | ||
inherit_from: | ||
- ../.rubocop_todo.yml | ||
|
||
Lint/Debugger: # don't leave binding.pry | ||
Enabled: true | ||
Exclude: [] | ||
|
||
RSpec/Focus: # run ALL tests on CI | ||
Enabled: true | ||
Exclude: [] | ||
|
||
Rails/Output: # Don't leave puts-debugging | ||
Enabled: true | ||
Exclude: [] | ||
|
||
Rails/FindEach: # each could badly affect the performance, use find_each | ||
Enabled: true | ||
Exclude: [] | ||
|
||
Rails/UniqBeforePluck: # uniq.pluck and not pluck.uniq | ||
Enabled: true | ||
Exclude: [] |
Oops, something went wrong.