cosmere-books/.rubocop.yml

53 lines
1.5 KiB
YAML

inherit_from: .rubocop_todo.yml
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2017-09-17 09:34:31 +0530 using RuboCop version 0.50.0.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.
# Offense count: 1
Metrics/AbcSize:
Max: 16
# Offense count: 8
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
# URISchemes: http, https
Metrics/LineLength:
Max: 150
AllowHeredoc: true
AllowURI: true
URISchemes:
- https
- http
IgnoredPatterns:
- \`
# Offense count: 1
# Configuration parameters: CountComments.
Metrics/MethodLength:
Max: 22
# Offense count: 1
Metrics/PerceivedComplexity:
Max: 10
# Offense count: 2
# Configuration parameters: ExpectMatchingDefinition, Regex, IgnoreExecutableScripts, AllowedAcronyms.
# AllowedAcronyms: CLI, DSL, ACL, API, ASCII, CPU, CSS, DNS, EOF, GUID, HTML, HTTP, HTTPS, ID, IP, JSON, LHS, QPS, RAM, RHS, RPC, SLA, SMTP, SQL, SSH, TCP, TLS, TTL, UDP, UI, UID, UUID, URI, URL, UTF8, VM, XML, XMPP, XSRF, XSS
Naming/FileName:
Exclude:
- 'wok-reread.rb'
- 'wor-reread.rb'
# Offense count: 5
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: for, each
Style/For:
Exclude:
- 'oathbringer.rb'
- 'wok-reread.rb'
- 'wor-reread.rb'