1
0
Fork 0
This repository has been archived on 2023-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
lpr-partynest/.rubocop.yml

145 lines
2.3 KiB
YAML
Raw Normal View History

2019-07-18 19:43:24 +00:00
require:
- rubocop-performance
- rubocop-rails
2019-10-09 06:43:20 +00:00
- rubocop-rspec
2019-04-27 09:36:57 +00:00
2018-11-22 19:57:13 +00:00
AllCops:
2020-01-15 10:52:32 +00:00
TargetRubyVersion: 2.7
2018-11-22 19:57:13 +00:00
DisplayCopNames: true
Exclude:
2020-02-14 13:43:42 +00:00
- 'bin/**/*'
2018-11-22 19:57:13 +00:00
- 'db/schema.rb'
2018-11-30 07:26:46 +00:00
- 'lib/tasks/cucumber.rake'
2018-12-07 00:15:41 +00:00
- 'lib/templates/**/*'
2020-01-16 16:14:52 +00:00
- 'node_modules/**/*'
2018-11-30 07:26:46 +00:00
- 'script/cucumber'
2018-11-22 19:57:13 +00:00
- 'vendor/**/*'
Layout/AccessModifierIndentation:
EnforcedStyle: outdent
Layout/EmptyLinesAroundArguments:
Enabled: false
2018-11-29 20:57:57 +00:00
Metrics/AbcSize:
Exclude:
- 'db/migrate/*.rb'
2018-11-26 13:58:09 +00:00
Metrics/BlockLength:
Exclude:
2018-12-03 20:04:08 +00:00
- 'config/**/*.rb'
2019-07-22 13:52:23 +00:00
- 'db/migrate/*.rb'
2018-11-30 03:41:57 +00:00
- 'factories/**/*.rb'
2018-12-04 13:50:10 +00:00
- 'lib/capistrano/tasks/**/*.rake'
2018-11-28 14:05:58 +00:00
- 'spec/**/*.rb'
2018-11-26 13:58:09 +00:00
Metrics/ClassLength:
Exclude:
- 'db/migrate/*.rb'
2020-01-15 11:16:17 +00:00
Layout/LineLength:
2018-11-26 13:58:09 +00:00
Exclude:
- 'config/initializers/simple_form.rb'
- 'config/initializers/simple_form_bootstrap.rb'
Metrics/MethodLength:
Exclude:
- 'db/migrate/*.rb'
2019-08-18 01:19:45 +00:00
Naming/PredicateName:
Exclude:
- 'app/models/application_record.rb'
2018-11-22 19:57:13 +00:00
Rails:
Enabled: true
2018-12-04 03:16:40 +00:00
Rails/BulkChangeTable:
Enabled: false
Rails/HasManyOrHasOneDependent:
Enabled: false
2018-11-30 00:17:26 +00:00
Rails/LexicallyScopedActionFilter:
Exclude:
- 'app/controllers/application_controller.rb'
2020-01-03 23:56:46 +00:00
Rails/RakeEnvironment:
Enabled: false
2019-10-15 11:21:09 +00:00
Rails/UnknownEnv:
Environments:
- 'development'
- 'production'
- 'staging'
- 'test'
2019-10-09 07:04:34 +00:00
RSpec/ContextWording:
Prefixes:
- 'after'
- 'for'
- 'when'
- 'with'
- 'without'
RSpec/DescribeClass:
Exclude:
- 'spec/requests/**/*_spec.rb'
RSpec/ExampleLength:
Max: 8
2020-01-15 10:08:44 +00:00
RSpec/ExpectInHook:
Enabled: false
2019-10-09 07:04:34 +00:00
RSpec/ImplicitSubject:
2019-05-03 07:52:01 +00:00
Enabled: false
2019-10-09 07:04:34 +00:00
RSpec/NamedSubject:
Enabled: false
RSpec/NestedGroups:
Max: 4
RSpec/ScatteredSetup:
Enabled: false
2019-02-02 04:27:42 +00:00
2018-11-22 19:57:13 +00:00
Style/AndOr:
EnforcedStyle: conditionals
2018-11-29 21:28:20 +00:00
Style/ClassAndModuleChildren:
Exclude:
- 'app/policies/**/*.rb'
2018-11-29 21:28:20 +00:00
- 'app/controllers/**/*.rb'
2018-11-22 19:57:13 +00:00
Style/Documentation:
Enabled: false
Style/DoubleNegation:
Enabled: false
2018-12-09 00:28:25 +00:00
Style/GlobalVars:
Exclude:
- 'features/support/env.rb'
- 'spec/spec_helper.rb'
Style/RescueModifier:
Exclude:
- 'spec/**/*.rb'
Style/RescueStandardError:
EnforcedStyle: implicit
2019-02-08 07:34:16 +00:00
Style/Semicolon:
Exclude:
- 'spec/**/*.rb'
2018-11-22 19:57:13 +00:00
Style/TrailingCommaInArguments:
EnforcedStyleForMultiline: comma
Style/TrailingCommaInArrayLiteral:
EnforcedStyleForMultiline: comma
Style/TrailingCommaInHashLiteral:
EnforcedStyleForMultiline: comma