-
-
Notifications
You must be signed in to change notification settings - Fork 15
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Clear and concise description of the problem
function foo(file) {
/// hoist-regex customName
return file.test(/some-regex/)
}to
const customName = /some-regex/
function foo(file) {
return file.test(customName)
}Suggested solution
Alternative
Later we could support a bunch of other hoist-x commands
Additional context
No response
Validations
- Follow our Code of Conduct
- Read the Contributing Guide.
- Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request