annotate .rubocop.yml @ 373:6e3e1e7b0212

Handle unique error in model instead of controller.
author nanaya <me@myconan.net>
date Sat, 06 Jun 2015 22:12:56 +0900
parents 6730adbd9fce
children 66ee2f5e793e
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:
337
6730adbd9fce Fix yaml style.
edogawaconan <me@myconan.net>
parents: 317
diff changeset
3 - Gemfile
6730adbd9fce Fix yaml style.
edogawaconan <me@myconan.net>
parents: 317
diff changeset
4 - config/local_config.rb.example
317
b33a7e73e592 Update rubocop config.
edogawaconan <me@myconan.net>
parents: 274
diff changeset
5 Exclude:
337
6730adbd9fce Fix yaml style.
edogawaconan <me@myconan.net>
parents: 317
diff changeset
6 - config/local_config.rb
6730adbd9fce Fix yaml style.
edogawaconan <me@myconan.net>
parents: 317
diff changeset
7 - db/schema.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