ember-native-class-codemod icon indicating copy to clipboard operation
ember-native-class-codemod copied to clipboard

A codemod-cli project for converting Ember objects to es6 native classes

Results 66 ember-native-class-codemod issues
Sort by recently updated
recently updated
newest added

![image](https://user-images.githubusercontent.com/1360552/73853617-3c9a2d80-4842-11ea-9e2d-16e79a467185.png)

Codemode changed this._super(...arguments) to undefined ![image](https://user-images.githubusercontent.com/22237897/81822054-4dda9080-953b-11ea-81ae-757ea95ff8ca.png)

If the class is ```js export default class Table extends Component {} ``` The error says: ``` You defined the class @ember/component that extends from @ember/component using native class syntax...

I wasn't expecting the codemod to delete many comments in our code. One small example: before ``` export default Component.extend({ //To show or hide sibling checkboxes when one is hovered...

This codemod looks awesome, but we are not using ember-decorators, only the native decorators. Is there a reason the addon is only supported with ember-decorators? We've gotten away with just...

In the documentation it says you can disable various features by setting a flag to `false`. For example, `--classic-decorator=false` will disable the insertion of the `@classic` decorator. This doesn't work...

The following file did not transform, and all of the properties seemed to trigger errors: ```js import { computed } from '@ember/object'; import { gt } from '@ember/object/computed'; import Model...

``` import { computed } from '@ember/object'; const Foo = EmberObject.extend({ authors: computed('post.comments.authorName', async function () { let comments = await this.post.comments; return comments.mapBy('authorName'); }), }); ``` is transformed into:...

In cases where the object you are migrating has the object name at the end of its filename, this gets duplicated into the classname which looks weird. For example, a...

I have several/many files that were not modified and are not mentioned in codemod.log, one example file: ``` // app/models/purchase.js import DS from 'ember-data'; import attr from 'ember-data/attr'; export default...