DockYard / eslint-plugin-ember-suave

DockYard's ESLint plugin for Ember apps
MIT License
53 stars 10 forks source link

Refactor recommended-test #65

Open Serabe opened 6 years ago

Serabe commented 6 years ago

This aims to check that the bad fixtures are failing as we intend. Some fixtures are failing, but not related to the rule we want to test.

As an example, the following snippet:

// require-spread/bad/example.js
const wrap = (f, g) => {
  return (...args) => g.apply(g, [f].concat(args));
}

The intention is for this snippet to fail because it should be doing g(f, ...args), but it is really failing because of the lack of a ;.