Closed alvicsam closed 1 year ago
Currently I'm working on monorepo and I need to merge all rules for 3 repos, so include line can look like:
include
include: ^substrate/frame/(?!.*(nfts/.*|uniques/.*|babe/.*|grandpa/.*|beefy|merkle-mountain-range/.*|contracts/.*|election|nomination-pools/.*|staking/.*|aura/.*))|^polkadot/runtime/(kusama|polkadot)/src/[^/]+\.rs$|^\.gitlab-ci\.yml|^(?!.*\.dic$|.*spellcheck\.toml$)scripts/ci/.*|^\.github/.*
Which is not human readable at all.
It would be nice to be able to configure it like this:
include: - ^substrate/frame/(?!.*(nfts/.*|uniques/.*|babe/.*|grandpa/.*|beefy|merkle-mountain-range/.*|contracts/.*|election|nomination-pools/.*|staking/.*|aura/.*)) - ^polkadot/runtime/(kusama|polkadot)/src/[^/]+\.rs$ - ^\.gitlab-ci\.yml - ^(?!.*\.dic$|.*spellcheck\.toml$)scripts/ci/.* - ^\.github/.*
This feature is already a part of new review-bot, which is currently in development and will replace PRCR.
More info here: https://github.com/paritytech/pr-custom-review/issues/114
Currently I'm working on monorepo and I need to merge all rules for 3 repos, so
include
line can look like:Which is not human readable at all.
It would be nice to be able to configure it like this: