Repository: ember-cli/eslint-plugin-ember (js)

Issue:
running --fix w/ ember/use-ember-get-and-set messes up my code
<img width="636" alt="screen shot 2017-08-14 at 4 12 50 pm" src="https://user-images.githubusercontent.com/643505/29295845-8d63733a-810b-11e7-9c62-ad8b7448c4e9.png">
<img width="630" alt="screen shot 2017-08-14 at 4 13 33 pm" src="https://user-images.githubusercontent.com/643505/29295846-8d74b8a2-810b-11e7-9175-7f31321c30eb.png">

seems like `Ember, Ember,`s keep getting added every time i run `--fix`

Pull request description:
Don't report on Ember method calls in use-ember-get-and-set
This rule should not report on Ember method calls. As a result, this
fixes #130 by not trying to repeatedly fix code on successive runs of
`eslint --fix`.

Patch:
diff --git a/lib/rules/use-ember-get-and-set.js b/lib/rules/use-ember-get-and-set.js
index 73db0f49..10fb48f1 100644
--- a/lib/rules/use-ember-get-and-set.js
+++ b/lib/rules/use-ember-get-and-set.js
@@ -117,6 +117,10 @@ module.exports = {
         ) {
           return;
         }
+        // Skip calls made on Ember methods
+        if (isIdentifier(callee.object) && callee.object.name === emberImportAliasName) {
+          return;
+        }
 
         if (isIdentifier(method) && avoidedMethods.indexOf(method.name) > -1) {
           report(node);


Test patch:
diff --git a/tests/lib/rules/use-ember-get-and-set.js b/tests/lib/rules/use-ember-get-and-set.js
index 177bff62..6120042d 100644
--- a/tests/lib/rules/use-ember-get-and-set.js
+++ b/tests/lib/rules/use-ember-get-and-set.js
@@ -14,8 +14,8 @@ eslintTester.run('use-ember-get-and-set', rule, {
   valid: [
     'get(this, "test")',
     'get(controller, "test")',
-    'set(this, "test")',
-    'set(controller, "test")',
+    'set(this, "test", someValue)',
+    'set(controller, "test", someValue)',
     'getProperties(this, name, email, password)',
     'getProperties(controller, name, email, password)',
     'setProperties(this, {name: "Jon", email: "jon@snow.com"})',
@@ -34,6 +34,18 @@ eslintTester.run('use-ember-get-and-set', rule, {
       code: 'this.get("/resources")',
       filename: 'app/mirage/config.js',
     },
+    {
+      code: 'import Ember from "ember"; Ember.get(this, "test")',
+      parserOptions: { ecmaVersion: 6, sourceType: 'module' },
+    },
+    {
+      code: 'import Ember from "ember"; Ember.set(this, "test", someValue)',
+      parserOptions: { ecmaVersion: 6, sourceType: 'module' },
+    },
+    {
+      code: 'import EmberAlias from "ember"; EmberAlias.get(this, "test")',
+      parserOptions: { ecmaVersion: 6, sourceType: 'module' },
+    },
   ],
   invalid: [
     // Non-fixable errors