New Octane Rule: `no-classic-classes`
See original GitHub issuePulled from https://github.com/ember-cli/eslint-plugin-ember/issues/533 which proposes a new set of rules for Octane related best practices
Disallow “classic” classes preferring use of native JS classes
// ### Good
export default class MyComponent extends Component {
...
}
// This mixin usage should be okay
export default class MyService extends Service.extends(Evented) {
...
}
// ### Bad
export default Component.extend({
...
});
If anyone would like to implement this please comment that you’ll take it and work away.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Introduce an `octane` configuration · Issue #533 · ember-cli ...
Recently ember-cli-template introduced an octane configuration which guides users to use new Octane patterns over classic component patterns.
Read more >The Octet Rule - Chemistry LibreTexts
The octet rule refers to the tendency of atoms to prefer to have eight electrons in the valence shell. When atoms have fewer...
Read more >The Octet Rule: Help, Definition, and Exceptions - YouTube
The Octet Rule is a general rule that is used to describe chemical bonding and draw Lewis Structures. The rule states that Main...
Read more >Octet Rule – Easy Hard Science - Learn With Dr. Scott
The octet rule is a concept in chemistry. It allows us to determine the atomic structure of most chemicals. The octet rule is...
Read more >Octet rule - Wikipedia
The octet rule is a chemical rule of thumb that reflects the theory that main-group elements tend to bond in such a way...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Unfortunately I don’t have admin rights to do that. @bmish could you assign this issue please?
I’m happy to take this one on – @patocallaghan can you set me as the “assignee”? It’s helpful when browsing the issues and seeing which new rules are yet un-claimed!