Loading
feat(#3632983): refuse a lint scope with nothing checked by vale
Makes drush vale:lint refuse a scope with nothing checked by Vale, for https://www.drupal.org/i/3632983. It exits 1 with "No field in ENTITY_TYPE:BUNDLE is checked with Vale." instead of printing an empty table that reads as a pass. A bundle counts as checked when it has an opted-in field, or can hold a component type, such as a paragraph type, that has one. The search follows only the component references and allowed bundles that linting follows, and no deeper than its 10 levels.