1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/mirrors-Puma_old1

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Клонировать/Скачать
.rubocop.yml 1.6 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
MSP-Greg Отправлено 30.01.2025 23:31 c6164ba
require:
- rubocop-performance
- ./cops/tests_puma.rb
AllCops:
DisabledByDefault: true
TargetRubyVersion: 2.4
DisplayCopNames: true
StyleGuideCopsOnly: false
Exclude:
- 'tmp/**/*'
- '**/vendor/bundle/**/*'
- 'examples/**/*'
- 'pkg/**/*'
- 'Rakefile'
SuggestExtensions: false
NewCops: enable
# enable all Performance cops
Performance:
Enabled: true
# ————————————————————————————————————————— disabled cops
# ————————————————————————————————————————— enabled cops
Layout/AccessModifierIndentation:
EnforcedStyle: indent
Layout/IndentationStyle:
Enabled: true
Layout/SpaceAfterColon:
Enabled: true
Layout/SpaceAroundKeyword:
Enabled: true
Layout/SpaceBeforeBlockBraces:
EnforcedStyleForEmptyBraces: no_space
Enabled: true
Layout/SpaceBeforeFirstArg:
Enabled: true
Layout/SpaceInsideParens:
Enabled: true
Layout/TrailingEmptyLines:
Enabled: true
Layout/TrailingWhitespace:
Enabled: true
Lint/Debugger:
Enabled: true
Metrics/ParameterLists:
Max: 7
Naming/ConstantName:
Enabled: true
Naming/MethodName:
Enabled: true
EnforcedStyle: snake_case
Exclude:
- 'test/**/**'
Naming/VariableName:
Enabled: true
Style/MethodDefParentheses:
Enabled: true
Style/SafeNavigation:
Enabled: true
Style/TernaryParentheses:
Enabled: true
Style/TrailingCommaInArguments:
Enabled: true
Style/WhileUntilModifier:
Enabled: true
TestsMustUsePumaTest:
Enabled: true

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/mirrors-Puma_old1.git
git@api.gitlife.ru:oschina-mirror/mirrors-Puma_old1.git
oschina-mirror
mirrors-Puma_old1
mirrors-Puma_old1
master