In order to make the usage of sheriff CLI commands like sheriff verify convenient to use in workspaces with multiple entrypoints but only a single one is relevant, it would make sense to introduce a defaultEntryPoint.
When a defaultEntryPoint is set e.g. sheriff verify will run only for this particular entry point.
Features
- add a
defaultEntryPoint property in the SheriffConfig
- support convention over configuration: when in
entryPoints a key with the name default is given this will be treated as the defaultEntryPoint
In order to make the usage of sheriff CLI commands like
sheriff verifyconvenient to use in workspaces with multiple entrypoints but only a single one is relevant, it would make sense to introduce adefaultEntryPoint.When a
defaultEntryPointis set e.g.sheriff verifywill run only for this particular entry point.Features
defaultEntryPointproperty in theSheriffConfigentryPointsa key with the namedefaultis given this will be treated as thedefaultEntryPoint