Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Polymer 3 Conversion #36

Merged
merged 2 commits into from
Dec 10, 2018
Merged

Polymer 3 Conversion #36

merged 2 commits into from
Dec 10, 2018

Conversation

margaree
Copy link
Contributor

@margaree margaree commented Dec 5, 2018

Patches related to:

  • siren-parser
  • lint fixes:
    • 'Map' is not defined, no-undef (added es6 to .eslintrc.json for this)
    • 'oldEntity' is defined but never used, no-unused-vars
    • Unnecessary escape character: \(, no-useless-escape

"globals": {
"fastdom": false,
"Promise": false
},
"env": {
"es6": true
Copy link
Member

Choose a reason for hiding this comment

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

I'm surprised you needed this... I don't think we've needed it elsewhere.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Mhmm, I'm a bit confused about this as well.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

So it looks like according to elint docs (https://eslint.org/docs/user-guide/configuring#specifying-parser-options) and issues (eslint/eslint#5674, eslint/eslint#7984) this is currently necessary for what we're seeing this for - Map and Set. From a bit of searching, it doesn't look like we have converted anything else that uses them yet.

Copy link
Member

Choose a reason for hiding this comment

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

Gotcha, cool, thanks for looking into it!

@margaree margaree merged commit bed9964 into master Dec 10, 2018
@margaree margaree deleted the polymer-3-2018-12-05-115152 branch December 10, 2018 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants