Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions DEVELOPERS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Information for engine developers & contributors
# Information for engine developers & contributors

## Testing local changes

Expand All @@ -13,7 +13,7 @@ against real repos using the Code Climate CLI.
If you are upgrading to a new version of RuboCop, please re-run the doc scraper
to get any new or updated docs:

```
```sh
docker run \
--rm --volume "$PWD:/usr/src/app" --user root --workdir /usr/src/app \
codeclimate/codeclimate-rubocop bundle exec rake docs:scrape
Expand All @@ -26,7 +26,7 @@ You should add any new cops without docs that fail specs to
When doing QA, it's good to confirm the engine will run successfully when using
the default inferred configuration:

```
```sh
rm .rubocop.yml
codeclimate init --upgrade
codeclimate analyze -e rubocop
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

[![Code Climate](https://codeclimate.com/github/codeclimate/codeclimate-rubocop/badges/gpa.svg)](https://codeclimate.com/github/codeclimate/codeclimate-rubocop)

`codeclimate-rubocop` is a Code Climate engine that wraps the [RuboCop](https://github.com/bbatsov/rubocop) static analysis tool. You can run it on your command line using the Code Climate CLI, or on our hosted analysis platform.
`codeclimate-rubocop` is a Code Climate engine that wraps the [RuboCop](https://github.com/rubocop-hq/rubocop) static analysis tool. You can run it on your command line using the Code Climate CLI, or on our hosted analysis platform.

RuboCop helps you enforce many of the guidelines outlined in the community [Ruby Style Guide](https://github.com/bbatsov/ruby-style-guide). Most aspects of its behavior can be tweaked via various [configuration options](https://github.com/bbatsov/rubocop/blob/master/config/default.yml), which are set in a **.rubocop.yml** file.
RuboCop helps you enforce many of the guidelines outlined in the community [Ruby Style Guide](https://github.com/rubocop-hq/ruby-style-guide). Most aspects of its behavior can be tweaked via various [configuration options](https://github.com/rubocop-hq/rubocop/blob/master/config/default.yml), which are set in a **.rubocop.yml** file.

You can find some basic setup instructions and links to the RuboCop OSS project below. For additional Code Climate-specific config details, check out our [RuboCop engine documentation][cc-docs-rubocop].

Expand All @@ -16,7 +16,7 @@ You can find some basic setup instructions and links to the RuboCop OSS project

### Need help?

For help with RuboCop, [check out their documentation](https://github.com/bbatsov/rubocop).
For help with RuboCop, [check out their documentation](https://github.com/rubocop-hq/rubocop).

If you're running into a Code Climate issue, first check out [our RuboCop engine docs][cc-docs-rubocop] and look over this project's [GitHub Issues](https://github.com/codeclimate/codeclimate-rubocop/issues), as your question may have already been covered. If not, [go ahead and open a support ticket with us](https://codeclimate.com/help).

Expand Down
2 changes: 1 addition & 1 deletion lib/tasks/docs.rake
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace :docs do
MIN_LINES = 3
COP_FOLDERS = %w[bundler gemspec layout lint metrics naming performance rails security style].freeze

`git clone https://github.com/bbatsov/rubocop.git rubocop-git`
`git clone https://github.com/rubocop-hq/rubocop rubocop-git`
`cd rubocop-git && git checkout tags/v#{RuboCop::Version.version}`

files = Dir.glob("./rubocop-git/lib/rubocop/cop/{#{COP_FOLDERS.join(",")}}/**.rb")
Expand Down