forked from textmate/latex.tmbundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop.yml
29 lines (24 loc) · 1.04 KB
/
.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
# ------------------------------------------------------------------------------
# Author: René Schwaiger (sanssecurs@f-m.fm)
# Date: 2015-01-07
# Version: 1
#
# Configuration file for [RuboCop](https://github.com/bbatsov/rubocop)
# ------------------------------------------------------------------------------
# -- Ruby 1.8 ------------------------------------------------------------------
# We need the following rules to keep compatibility with ruby versions pre 1.9
# shipped with OS X prior to OS X 10.10. The source of the following code is
# http://www.stok.ca/blog/2014/08/24/cleaning.
# Ruby 1.8.7 needs the . on a chain of method calls at the end of a line.
Layout/DotPosition:
EnforcedStyle: trailing
# Ruby 1.8.7 doesn't have the -> lambda
Style/Lambda:
Enabled: false
# Ruby 1.8.7 doesn't have 1.9 style hash syntax
Style/HashSyntax:
EnforcedStyle: hash_rockets
# -- Common Rules --------------------------------------------------------------
# Allow special characters such as `é` in comments
AsciiComments:
Enabled: false