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 upRedefinition of 'Map' #171
Comments
This comment has been minimized.
This comment has been minimized.
|
In general, this rule is a good thing. It prevents you from redefining You can disable the specific rule like this: let Map = require('es6-map') // eslint-disable-line no-native-reassignOr more succinctly disable all checking on this line, like this: let Map = require('es6-map') // eslint-disable-line |
feross
closed this
Jun 24, 2015
This comment has been minimized.
This comment has been minimized.
|
@LinusU this is because, conceptually, you are overriding the |
This comment has been minimized.
This comment has been minimized.
|
Sounds fair enough |
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.
LinusU commentedJun 24, 2015
Node.js dosen't ship with
Mapfrom ES6 so I'm using a standalone library to provide it. It seems likestandardthinks thatMapalready exists in the global scope since it gives me back the following error.This is my code: