rubocop / rubocop-md

RuboCop for Markdown code snippets
MIT License
71 stars 14 forks source link

Fix incompatibility with RuboCop extensions that modify Include/Exclude for cops #34

Closed Earlopain closed 8 months ago

Earlopain commented 8 months ago

Consider this:

For example, when adding rubocop-erb to the rails repository there are about 1.5k offenses. With this change there are only about 10% since the excludes from rubocop-erb are properly applied.

I tried adding a test for this but couldn't figure out how to do that properly.

CI for ruby-head is failing until minitest releases a new version, see https://github.com/minitest/minitest/commit/5f5c2111f36658fd2636b108b8327ce4b2f3cf8d

palkan commented 8 months ago

Thanks!