-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Remove lint rule to prevent global Promise #7878
Conversation
.eslintrc.js
Outdated
@@ -52,7 +52,7 @@ module.exports = { | |||
'no-console': 'error', // no longer recommended in eslint v6, this restores it | |||
'no-eq-null': 'error', | |||
'no-eval': 'error', | |||
'no-restricted-globals': ['error', { name: 'Promise', message: 'Global Promise does not work in IE11' }], | |||
'no-restricted-globals': ['error', { name: 'Promise', message: 'Must use RSVP.Promise' }], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We will want to maintain this correct? Or with IE11 support dropped, can we remove this lint rule @runspired
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
with IE11 support dropped we can drop this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any reason we can't look to drop rsvp? Need an RFC?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We may still rely on hooking into it to allow promise cancellation in one situation.
Asset Size Report for 1ecc1a1 Modern Builds ☑️ EmberData has not changed in sizeIf any packages had changed sizes they would be listed here. Changeset
Full Asset Analysis (Modern)
Modern Builds (No Rollup) ☑️ EmberData has not changed in sizeIf any packages had changed sizes they would be listed here. Changeset
Full Asset Analysis (Modern)
|
Performance Report for 1ecc1a1 Scenario - materialization: ☑️ Performance is stable
Scenario - unload: ☑️ Performance is stable
Scenario - destroy: ☑️ Performance is stable
Scenario - add-children: ☑️ Performance is stable
Scenario - unused-relationships: ☑️ Performance is stable
|
No description provided.