mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-06-10 19:06:14 +08:00
31 lines
No EOL
573 B
YAML
Vendored
31 lines
No EOL
573 B
YAML
Vendored
AllCops:
|
|
# Include gemspec and Rakefile
|
|
Includes:
|
|
- '**/*.gemspec'
|
|
- '**/Rakefile'
|
|
Excludes: []
|
|
|
|
# Prefer ' strings when you don't need string interpolation or special symbols.
|
|
StringLiterals:
|
|
Enabled: false
|
|
|
|
# Limit lines to 79 characters.
|
|
LineLength:
|
|
Enabled: true
|
|
Max: 180
|
|
|
|
# Avoid methods longer than 10 lines of code
|
|
MethodLength:
|
|
Enabled: true
|
|
CountComments: false # count full line comments?
|
|
Max: 10
|
|
|
|
# Document classes and non-namespace modules.
|
|
Documentation:
|
|
Enabled: false
|
|
|
|
CaseEquality:
|
|
Enabled: false
|
|
|
|
ClassVars:
|
|
Enabled: false |