chore: init commit
in worker.../repo/GITFOLDER.zip is the .git folder.
This commit is contained in:
85
worker-toolkit-stocks-in-the-future/repo/.rubocop.yml
Normal file
85
worker-toolkit-stocks-in-the-future/repo/.rubocop.yml
Normal file
@@ -0,0 +1,85 @@
|
||||
# .rubocop.yml
|
||||
plugins:
|
||||
- rubocop-rails
|
||||
|
||||
inherit_from:
|
||||
- .rubocop_rails_default.yml
|
||||
|
||||
AllCops:
|
||||
NewCops: enable
|
||||
Exclude:
|
||||
- 'db/**/*'
|
||||
- 'bin/**/*'
|
||||
- 'node_modules/**/*'
|
||||
- 'vendor/**/*'
|
||||
- 'config/initializers/devise.rb'
|
||||
- 'config/initializers/permissions_policy.rb'
|
||||
- 'config/initializers/filter_parameter_logging.rb'
|
||||
- 'config/initializers/inflections.rb'
|
||||
- 'config/initializers/assets.rb'
|
||||
- 'config/initializers/content_security_policy.rb'
|
||||
- 'config/initializers/api_keys.rb'
|
||||
SuggestExtensions: false
|
||||
|
||||
Style/Documentation:
|
||||
Enabled: false
|
||||
|
||||
Style/StringLiterals:
|
||||
EnforcedStyle: double_quotes
|
||||
|
||||
Layout/LineLength:
|
||||
Max: 120
|
||||
|
||||
Metrics/BlockLength:
|
||||
Max: 50
|
||||
Exclude:
|
||||
- 'config/routes.rb'
|
||||
- 'spec/**/*'
|
||||
- 'test/**/*'
|
||||
|
||||
Metrics/ClassLength:
|
||||
Exclude:
|
||||
- 'app/models/order.rb'
|
||||
- 'spec/**/*'
|
||||
- 'test/**/*'
|
||||
|
||||
Metrics/MethodLength:
|
||||
Max: 20
|
||||
Exclude:
|
||||
- 'app/helpers/components/**/*'
|
||||
- 'spec/**/*'
|
||||
- 'test/**/*'
|
||||
|
||||
Metrics/AbcSize:
|
||||
Max: 25
|
||||
Exclude:
|
||||
- 'spec/**/*'
|
||||
- 'test/**/*'
|
||||
|
||||
Metrics/CyclomaticComplexity:
|
||||
Exclude:
|
||||
- 'app/helpers/components/**/*'
|
||||
- 'spec/**/*'
|
||||
- 'test/**/*'
|
||||
|
||||
Metrics/PerceivedComplexity:
|
||||
Exclude:
|
||||
- 'app/helpers/components/**/*'
|
||||
- 'spec/**/*'
|
||||
- 'test/**/*'
|
||||
|
||||
Metrics/ParameterLists:
|
||||
Exclude:
|
||||
- 'app/helpers/components/**/*'
|
||||
|
||||
Naming/MethodParameterName:
|
||||
MinNameLength: 2
|
||||
|
||||
Layout/FirstMethodArgumentLineBreak:
|
||||
Enabled: true
|
||||
|
||||
Layout/MultilineMethodCallIndentation:
|
||||
EnforcedStyle: indented
|
||||
|
||||
Layout/FirstArgumentIndentation:
|
||||
EnforcedStyle: consistent
|
||||
Reference in New Issue
Block a user