1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/.codeclimate.yml
Sean Griffin 7d883b8293 Add codeclimate and rubocop config files
We're going to be experimenting with a new bot for them. This will not
cause anything to start affecting new PRs yet, but it will have data
sent to them so they can do "dry run" stuff on their end.

The rubocop file is based on our documented style guide. I've only
included rules which are either already consistently applied throughout
the entire codebase, or where added lines should be following the
guideline regardless of the surrounding code (such as hash syntax)
2016-06-13 10:29:50 -04:00

27 lines
509 B
YAML

engines:
rubocop:
enabled: true
ratings:
paths:
- "**.rb"
exclude_paths:
- actioncable/lib/rails/generators/
- actioncable/test/
- actionmailer/lib/rails/generators/
- actionmailer/test/
- actionpack/test/
- actionview/test/
- activejob/lib/rails/generators/
- activejob/test/
- activemodel/test/
- activerecord/lib/rails/generators/
- activerecord/test/
- activesupport/test/
- railties/lib/rails/generators/
- railties/test/
- ci/
- guides/
- tasks/
- tools/