Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upCannot use /* exported */ to prevent no-unused-vars warnings #614
Comments
This comment has been minimized.
This comment has been minimized.
|
Interesting. I wasn't aware eslint had an This keyword won't work with I suggest using the recommendation from RULES.md, which is to explicitly use window.MyExportedVar = function () { /* ... */ } |
feross
closed this
Sep 10, 2016
feross
added
the
question
label
Sep 10, 2016
lock
bot
locked as resolved and limited conversation to collaborators
May 10, 2018
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
davidystephenson commentedSep 7, 2016
I am writing javascript for use in a browser environment, without using node/webpack/browserify. I want to be able to use eslint's
exportedkeyword to mark variables that will be used in other imported files. This keyword does not seem to be functioning currently.