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 upWebstorm doesn't respect 'globals' in package.json #559
Comments
This comment has been minimized.
This comment has been minimized.
|
Temporary solution is to add names of global variables you would like to use both to But it's a crutch and normal solution still wanted |
This comment has been minimized.
This comment has been minimized.
|
This is because WebStorm doesn't really support Standard natively -- it just supports ESLint. ESLint does not look for options in I suggest that you use You can also vote for native |
feross
added
the
question
label
Jul 12, 2016
feross
closed this
Jul 12, 2016
This comment has been minimized.
This comment has been minimized.
|
Ya, but not in case when you have "hundreds of files" :( |
Alexsey commentedJul 7, 2016
If you mentioned some variables in package.json like
Webstorm will still consider their usage as error. Test of file from the command line will find no errors (as it should be), so it's some lack of configuration. Unfortunately I don't know what should be configured.
Did any one solved this problem?