houndci / hound

Automated code review for GitHub pull requests.
https://houndci.com
MIT License
1.95k stars 402 forks source link

List extension versions supported? #1828

Open mark-coyle opened 3 years ago

mark-coyle commented 3 years ago

We recently added a new cop RSpec/StubbedMock to our .rubocop.yml config file. This cop was introduced as part of the rubocop-rspec extension in version 1.44 ( https://docs.rubocop.org/rubocop-rspec/cops_rspec.html#rspecstubbedmock )

We now see the following:

Some files could not be reviewed due to errors:

Error: unrecognized cop RSpec/StubbedMock found in .rubocop.yml

We currently use rubocop version: 0.91.0 with hound.

Is it possible to find out what versions of extensions are currently supported with Hound? Something like http://help.houndci.com/en/articles/2461415-supported-linters for extensions.

More specifically, in this case, is it possible to find out what version of rubocop-rspec is currently supported?

AngusGMorrison commented 3 years ago

As a supporting example, eslint-plugin-jest adds the option additionalTestBlockFunctions to jest/no-standalone-expect in v23.15.0, which is unsupported by Hound, resulting in the somewhat opaque error:

Error: .eslintrc:
    Configuration for rule "jest/no-standalone-expect" is invalid:
    Value [{"additionalTestBlockFunctions":["afterEach","beforeEach"]}] should NOT have more than 0 items.
hlascelles commented 3 years ago

@gylaz is this something Hound will consider? We have a number of (famous, well respected) plugins we would like to use...