Skip to content

Conversation

JoshuaKGoldberg
Copy link
Contributor

Sending as a reference for #2829 -> eslint/eslint#18087.

This:

  1. Copies FileEnumerator.js from ESLint's source as a FileEnumeratorIsh class
  2. Uses FileEnumeratorIsh instead of the existing FileEnumerator imports in no-unused-modules.js
  3. Removes any code paths that don't seem to be relevant anymore

This code is not ready to be reviewed. It doesn't preserve existing licensing/ownership. And I don't work in this repository nearly enough to be confident all of those removals were ok to remove. It's just a reference to show that isDirectoryIgnored + isFileIgnored seems to be enough for the rule to go off of.

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

Successfully merging this pull request may close these issues.

1 participant