forked from neelkapse/pandoc-ruby
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.rubocop.yml
43 lines (39 loc) · 884 Bytes
/
.rubocop.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# .rubocop.yml
#
# Configuration for rubocop, a static code analyzer for Ruby.
#
# https://github.com/bbatsov/rubocop#configuration
inherit_from: .rubocop_todo.yml
# Style/AccessModifierIndentation
#
# Indent access modifiers like `protected` and `private`.
Style/AccessModifierIndentation:
EnforcedStyle: indent
# Style/FileName
#
# Long, long ago, this was named with a dash rather than an underscore. Now
# it's unconventional, but let's consider it retro and leave it for now so we
# don't have to rename the gem. TODO: Rename using an underscore.
Style/FileName:
Exclude:
- 'lib/pandoc-ruby.rb'
# Style/IndentationConsistency
#
# Use Rails-style access modifier indentation.
#
# Example:
# ```
# class Foo
# def bar
# puts 'bar'
# end
#
# private
#
# def baz
# puts 'baz'
# end
# end
# ```
Style/IndentationConsistency:
EnforcedStyle: rails