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

no-invalid-debug-function-arguments: Fix false positives #366

Merged
merged 1 commit into from
Dec 31, 2018
Merged

no-invalid-debug-function-arguments: Fix false positives #366

merged 1 commit into from
Dec 31, 2018

Conversation

bmish
Copy link
Member

@bmish bmish commented Dec 30, 2018

Update rule to ignore unrelated function calls underneath one of the debug functions.

For example, we want to ignore calls that look like:

  • assert.ok(...)
  • assert.equal(...)

We only care about calls that look like:

  • assert(...)
  • Ember.assert(...)

@Turbo87 Turbo87 changed the title fix: false positive for 'no-invalid-debug-function-arguments' rule. no-invalid-debug-function-arguments: Fix false positives Dec 31, 2018
@Turbo87 Turbo87 merged commit 1ed907a into ember-cli:master Dec 31, 2018
@Turbo87 Turbo87 added the Bug label Dec 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants