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

New Rule: Lint against firstObject/lastObject #922

Closed
mehulkar opened this issue Aug 25, 2020 · 2 comments · Fixed by #1461
Closed

New Rule: Lint against firstObject/lastObject #922

mehulkar opened this issue Aug 25, 2020 · 2 comments · Fixed by #1461
Labels
enhancement New Rule Idea for a new lint rule

Comments

@mehulkar
Copy link

it would be good to have a lint rule against usage of firstObject/lastObject so we can start moving to normal JS arrays.

@bmish
Copy link
Member

bmish commented Aug 25, 2020

Yeah, I'd be in favor of two new rules:

  • no-ember-arrays
  • no-ember-objects

@bmish bmish changed the title Lint against firstObject/lastObject New Rule: Lint against firstObject/lastObject Aug 25, 2020
@smilland
Copy link
Contributor

smilland commented Apr 5, 2022

This can be part of #1075

@bmish bmish added the New Rule Idea for a new lint rule label May 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New Rule Idea for a new lint rule
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants