Skip to content

Conversation

keith
Copy link
Member

@keith keith commented May 26, 2023

This makes it easier to pass various options over time. This moves the 2
regex options to the file as well.

This makes it easier to pass various options over time. This moves the 2
regex options to the file as well.
}

let unusedImports = allImports.subtracting(usedImports)
let unusedImports = allImports.subtracting(usedImports).subtracting(configuration.alwaysKeepImports)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is the core motivation for this change

@keith keith merged commit 54887d3 into main May 26, 2023
@keith keith deleted the ks/switch-unused-imports-to-use-config-file branch May 26, 2023 23:07
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 this pull request may close these issues.

2 participants