Always prefix commands with rtk. If RTK has a dedicated filter, it uses it. If not, it passes through unchanged. This means RTK is always safe to use.
Contrary to what rule says, it isn't safe for pnpm commands:
$ rtk pnpm --filter mymodule test **/*.spec.ts
error: unexpected argument '--filter' found
Usage: rtk pnpm [OPTIONS] <COMMAND>
For more information, try '--help'.
Why not pass everything unknown to the target?
Contrary to what rule says, it isn't safe for pnpm commands:
Why not pass everything unknown to the target?