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

WIP Lint set chain #75

Closed
wants to merge 1 commit into from
Closed

WIP Lint set chain #75

wants to merge 1 commit into from

Conversation

mmun
Copy link

@mmun mmun commented Aug 16, 2015

This tool is intended to help out with emberjs/ember.js#12095.

The point of the tool is to list all places where you may be using Ember.set of obj.set in a sketchy way, so that you can manually audit them.

It would be nice to give ember-watson first class support for linting instead of only source-to-source transformation. We might want to use JSCS because it has great support for displaying the offending code.

@abuiles
Copy link
Owner

abuiles commented Aug 18, 2015

@mmun thanks! this looks really cool, I'll merge it later today.

About JSCS support I'm up for that.

@mmun
Copy link
Author

mmun commented Aug 18, 2015

If you want to finish this off differently feel free to rebase this commit or merge & finish the job :P

@SamvelRaja
Copy link
Contributor

👍 for the PR

@Kerrick
Copy link

Kerrick commented Sep 23, 2016

I'm not completely familiar with the internals of ember-watson. Would this handle usages like this, which also broke with Ember 2.0?

const foo = store.createRecord('foo').set('bar', true);
foo.save();

@knownasilya
Copy link
Collaborator

Fyi jscs merged with eslint

@mmun mmun closed this Dec 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants