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 upSuggestion: globals in package.json #177
Comments
feross
added a commit
to webtorrent/create-torrent
that referenced
this issue
Jun 30, 2015
feross
closed this
in
e3cf562
Jun 30, 2015
This comment has been minimized.
This comment has been minimized.
|
Agreed - this is really handy for large projects. Released as 4.5.0. |
This comment has been minimized.
This comment has been minimized.
|
I think there is a confusion between 'globals' and 'global' Sorry, it must be me who confused you in my original suggestion as it says "globals" there |
This comment has been minimized.
This comment has been minimized.
|
I think eslint supports both |
Flet
added a commit
to Flet/standard
that referenced
this issue
Oct 23, 2015
lock
bot
locked as resolved and limited conversation to collaborators
May 11, 2018
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Deadarius commentedJun 29, 2015
It is rather uncomfortable to write something like window._ or have /* global _ */ at each .js file.
What if we have something like this inside of package.json:
{ <...> "standard": { "globals": ["_", "angular", "s"] } }