Skip to content
This repository was archived by the owner on Aug 4, 2021. It is now read-only.

Add "location" and "process" to reserved words#330

Merged
lukastaegert merged 2 commits intorollup:masterfrom
Torsten85:patch-1
Sep 18, 2018
Merged

Add "location" and "process" to reserved words#330
lukastaegert merged 2 commits intorollup:masterfrom
Torsten85:patch-1

Conversation

@Torsten85
Copy link
Contributor

Currently you can generate code with satements like
var process = or var location =
this is obviously a bad Idea vor node (case 1) or the browser (case 2)

Resolves #309

Currently you can generate code with satements like 
`var process = ` or `var location = `
this is obviously a bad Idea vor node (case 1) or the browser (case 2)
Copy link
Member

@lukastaegert lukastaegert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Definitely makes sense! For a more general solution, maybe we actually want to include a curated list like https://www.npmjs.com/package/globals?

@lukastaegert
Copy link
Member

Merging this for now.

@lukastaegert lukastaegert merged commit 5936873 into rollup:master Sep 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants