al-quran.reflectslight.io/packages/ruby/server/.rubocop.yml

41 lines
619 B
YAML
Raw Normal View History

2023-06-29 17:07:24 +02:00
##
# Plugins
require:
- standard
##
# Defaults: standard-rb
inherit_gem:
standard: config/base.yml
##
# All cops
AllCops:
TargetRubyVersion: 3.2
Include:
- lib/*.rb
- lib/**/*.rb
- test/*_test.rb
##
# Enabled
Style/FrozenStringLiteralComment:
Enabled: true
##
# Disabled
Layout/ArgumentAlignment:
Enabled: false
Layout/MultilineMethodCallIndentation:
Enabled: false
Layout/EmptyLineBetweenDefs:
Enabled: false
Style/TrivialAccessors:
Enabled: false
Lint/NestedMethodDefinition:
Exclude:
- test/server_dir_test.rb
Style/SingleLineMethods:
Exclude:
- test/server_dir_test.rb