SublimeHyperClick
SublimeHyperClick copied to clipboard
Add support for JavaScript template literals
HyperClick doesn't support JavaScript template literals:
// works great
require("./my-file.js")
import("./my-file.js")
// works great
require('./my-file.js')
import('./my-file.js')
// does not work :(
require(`./my-file.js`)
import(`./my-file.js`)
Obviously parsing any templates ./my-${ whatever }.js
is way outside the scope of HyperClick.
why
At work, we use this ESLint rule:
module.exports = {
// ...
rules: {
quotes: [ `warn`, `backtick` ],
}
}