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

Do not pass ...arguments in autofix for attrs hooks in require-super-in-init rule #962

Merged
merged 1 commit into from
Sep 27, 2020
Merged

Do not pass ...arguments in autofix for attrs hooks in require-super-in-init rule #962

merged 1 commit into from
Sep 27, 2020

Conversation

bmish
Copy link
Member

@bmish bmish commented Sep 27, 2020

attrs hooks (didReceiveAttrs, didUpdateAttrs) should call super without ...arguments to satisfy the ember/no-attrs-snapshot rule.

Note that this autofix only applies when the checkInitOnly option of the ember/require-super-in-init option is disabled.

@bmish bmish added the bug label Sep 27, 2020
@bmish bmish merged commit 06282c4 into ember-cli:master Sep 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant