Skip to content

Prevent future ember/no-mixins eslint error#1219

Merged
RobbieTheWagner merged 2 commits intoemberjs:masterfrom
ansmonjol:prevent-no-mixins
May 17, 2020
Merged

Prevent future ember/no-mixins eslint error#1219
RobbieTheWagner merged 2 commits intoemberjs:masterfrom
ansmonjol:prevent-no-mixins

Conversation

@ansmonjol
Copy link
Copy Markdown

Description

This MR aims to fix the future ember/no-mixins error, while upgrading eslint-plugin-ember from 7.13.0 to 8.5.1.

Preferred to disable the lint on each occurence instead of disabling the rule globally, as we did for observers.

See related issue: #1197

And the rule documentation: https://github.com/ember-cli/eslint-plugin-ember/blob/master/docs/rules/no-mixins.md

Copy link
Copy Markdown
Member

@rwjblue rwjblue left a comment

Choose a reason for hiding this comment

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

Can you enable the rule in our eslint config (that should allow us to confirm it doesn’t error and whatnot)?

@ansmonjol
Copy link
Copy Markdown
Author

Can you enable the rule

Of course ! Done

@RobbieTheWagner RobbieTheWagner merged commit fcd0f06 into emberjs:master May 17, 2020
@RobbieTheWagner RobbieTheWagner deleted the prevent-no-mixins branch May 17, 2020 22:17
patricklx pushed a commit to patricklx/ember-inspector that referenced this pull request Sep 19, 2022
* Prevent future ember/no-mixins eslint error

* Enable no-mixins rule
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.

3 participants