v10 to v11 Migration Guide
v11.0.0 Migration Guide
--allowEmptyTargets CLI option removed
The --allowEmptyTargets CLI option has been removed. Previously, running the CLI without any lint targets would error unless --allowEmptyTargets was passed, in which case it would exit cleanly without linting anything.
As of v11, running the CLI without any lint targets no longer errors. Instead, a warning is printed and the lint targets default to the current working directory (.).
If you were relying on --allowEmptyTargets to exit cleanly with no targets, you will now need to explicitly pass a pattern that matches no files, or update your tooling to avoid invoking the CLI without targets.
Please see the release notes for additional changes introduced in v11.0.0.