Skip to content

Conversation

@benjiwheeler
Copy link
Contributor

@benjiwheeler benjiwheeler commented Nov 10, 2020

Resolves #191

  • updates versions of eslint, babel-eslint, and eslint-config-scratch
  • modifies hasOwnProperty calls to be safer, in line with new lint rules

_TextDecoder = encoding.TextDecoder;
_TextEncoder = encoding.TextEncoder;
} else {
/* global TextDecoder TextEncoder */
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@benjiwheeler benjiwheeler self-assigned this Nov 10, 2020
@benjiwheeler
Copy link
Contributor Author

Need to find reviewer

@benjiwheeler benjiwheeler added this to the November 2020 milestone Nov 10, 2020
@benjiwheeler benjiwheeler removed their assignment Mar 8, 2021
Copy link
Contributor

@rschamp rschamp left a comment

Choose a reason for hiding this comment

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

This all looks reasonable to me. Just one point of confusion.

"cz-conventional-changelog": "^3.0.2",
"eslint": "5.7.0",
"eslint-config-scratch": "5.1.0",
"eslint-plugin-react": "7.12.4",
Copy link
Contributor

Choose a reason for hiding this comment

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

Is the addition of the major version range ^ for eslint-config-scratch and eslint-plugin-react but not eslint or babel-eslint intentional?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

As I recall, some other repo of ours had that pattern -- but now I can't find it! I checked around, and it seems like we're generally using the major version caret for eslint, so I added it here.

@benjiwheeler benjiwheeler merged commit 2682121 into scratchfoundation:develop Apr 26, 2021
@benjiwheeler benjiwheeler deleted the update-eslint branch April 26, 2021 19:35
@rschamp
Copy link
Contributor

rschamp commented Apr 27, 2021

🎉 This PR is included in version 1.3.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Don't call hasOwnProperty directly on our objects #2682

2 participants