annotate .rubocop.yml @ 317:b33a7e73e592

Update rubocop config.
author edogawaconan <me@myconan.net>
date Sat, 05 Apr 2014 23:25:40 +0900
parents 24e8796b0b21
children 6730adbd9fce
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
271
9e5340104183 Add rubocop for fun.
edogawaconan <me@myconan.net>
parents:
diff changeset
1 AllCops:
317
b33a7e73e592 Update rubocop config.
edogawaconan <me@myconan.net>
parents: 274
diff changeset
2 Include:
273
d55dfc6e3047 Also check gemfile.
edogawaconan <me@myconan.net>
parents: 271
diff changeset
3 - "Gemfile"
271
9e5340104183 Add rubocop for fun.
edogawaconan <me@myconan.net>
parents:
diff changeset
4 - "config/local_config.rb.example"
317
b33a7e73e592 Update rubocop config.
edogawaconan <me@myconan.net>
parents: 274
diff changeset
5 Exclude:
271
9e5340104183 Add rubocop for fun.
edogawaconan <me@myconan.net>
parents:
diff changeset
6 - "db/schema.rb"
9e5340104183 Add rubocop for fun.
edogawaconan <me@myconan.net>
parents:
diff changeset
7 - "config/local_config.rb"
274
24e8796b0b21 Enable rails cops.
edogawaconan <me@myconan.net>
parents: 273
diff changeset
8 RunRailsCops: true
271
9e5340104183 Add rubocop for fun.
edogawaconan <me@myconan.net>
parents:
diff changeset
9
9e5340104183 Add rubocop for fun.
edogawaconan <me@myconan.net>
parents:
diff changeset
10 HashSyntax:
9e5340104183 Add rubocop for fun.
edogawaconan <me@myconan.net>
parents:
diff changeset
11 EnforcedStyle: hash_rockets
9e5340104183 Add rubocop for fun.
edogawaconan <me@myconan.net>
parents:
diff changeset
12
9e5340104183 Add rubocop for fun.
edogawaconan <me@myconan.net>
parents:
diff changeset
13 StringLiterals:
9e5340104183 Add rubocop for fun.
edogawaconan <me@myconan.net>
parents:
diff changeset
14 EnforcedStyle: double_quotes