Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: ignore node_modules and other theme-related directories #177

Closed
joshuaboltzmc opened this issue Jun 15, 2020 · 0 comments · Fixed by #184
Closed

Feature request: ignore node_modules and other theme-related directories #177

joshuaboltzmc opened this issue Jun 15, 2020 · 0 comments · Fixed by #184

Comments

@joshuaboltzmc
Copy link

How is drupal-check installed?
drupal-check is installed as a dependency to my project

Environment:

  • macOS host/Linux via DrupalVM
  • PHP Version: 7.3
  • Drupal core: 8.9.0

Describe the bug
The Drupal check tool can be used to check deprecated code in themes too, but themes typically have extra tooling in place like NPM packages in node_modules and bower_components. I can't think of a reason why we would want Drupal-check to scan these types of directories.

There is the -e flag that can be used to exclude these, but it may be better to not force people to need to do this manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant