Skip to content

Releases: ember-cli/eslint-plugin-ember

v5.0.0-beta.2

15 Nov 15:18
Compare
Choose a tag to compare
v5.0.0-beta.2 Pre-release
Pre-release
  • 📦 - Change recommended rule set to match eslint pattern of only including rules that prevent errors (and specifically excluding stylistic rules).
    • ❌ - Remove alias-model-in-controller from ember/recommended rule set.
    • ❌ - Remove avoid-leaking-state-in-components from ember/recommended rule set.
    • ❌ - Remove named-functions-in-promises from ember/recommended rule set.
    • ❌ - Remove no-attrs-in-components from ember/recommended rule set.
    • ❌ - Remove no-empty-attrs from ember/recommended rule set.
    • ❌ - Remove no-observers from ember/recommended rule set.
    • ❌ - Remove use-ember-get-and-set from ember/recommended rule set.
    • ❌ - Remove order-in-components from ember/recommended rule set.
    • ❌ - Remove order-in-controllers from ember/recommended rule set.
    • ❌ - Remove order-in-models from ember/recommended rule set.
    • ❌ - Remove order-in-routes from ember/recommended rule set.
    • ✅ - Add avoid-leaking-state-in-ember-objects to ember/recommended rule set.
    • ✅ - Add new-module-imports to ember/recommended rule set.
    • ✅ - Add no-attrs-in-components to ember/recommended rule set.
    • ✅ - Add no-duplicate-dependent-keys from ember/recommended rule set.
    • ✅ - Add no-global-jquery to ember/recommended rule set.
    • ✅ - Add no-old-shims to ember/recommended rule set.
    • ✅ - Add require-super-in-init to ember/recommended rule set.

v4.6.2

15 Nov 15:09
Compare
Choose a tag to compare
  • ⭐️ #155 - Add ignoreThisExpressions option to ember-get-and-set rule. This allows the rule to enforce get / set usage when operating on foreign objects, but still use the much more ergonomic this.get or this.set when writing methods directly in an Ember Object definition. (@JoelWAnna)
  • ⭐️ #152 - Detect models based on their file paths. (@rmachielse)
  • 🐛 #165 - Allow member expressions and unary expressions for avoid-leaking-state-in-ember-objects rule. (@shegupta)
  • 🐛 #168 - Avoid errors in no-capital-letters-in-routes rule when using a variable. (@cspanring)
  • 🐛 #169 - Ensure init is ordered before other methods in order-in-* rules. (@eskab)
  • ⭐️ #175 - Deprecate avoid-leaking-state-in-components rule in favor of the more general avoid-leaking-state-in-ember-objects rule.

v4.6.1

06 Nov 19:13
Compare
Choose a tag to compare
  • 🐛 #160 - Allow template literals with in avoid-leaking-state-in-ember-objects (@amk221)

v4.6.0

03 Nov 22:03
Compare
Choose a tag to compare
  • #137 - Change default order of components' lifecycle hooks to be aligned with the execution order (@rwwagner90)
  • #156 - Add avoid-leaking-state-in-ember-objects rule to prevent state leakage (adding mutable state to an object's prototype) when using Ember.Object.extend(). (@shegupta)

v4.5.0

06 Oct 20:00
Compare
Choose a tag to compare

v4.4.0

06 Oct 19:58
Compare
Choose a tag to compare
  • #108 - Add empty-methods as separate position in order-in-* rules (@t-sauer)

  • #124 - Support explicit order of lifecycle hooks in routes and change default order to be aligned with the execution order (@rwwagner90)

  • 🐛 #132 - Don't report on Ember method calls in use-ember-get-and-set (@sudowork)

  • ⚙️ #126 - Better wording in Readme (@caseywatts)

  • ⚙️ #133 - Add recommended rules snapshot test (@Turbo87)

v4.3.0

15 Aug 19:34
Compare
Choose a tag to compare

v4.2.0

15 Aug 19:30
Compare
Choose a tag to compare

v4.1.3

15 Aug 19:20
Compare
Choose a tag to compare
  • ⚙️ #114 Disable no-global-jquery and no-attrs-in-components (@michalsnik)

v4.1.2

15 Aug 19:19
Compare
Choose a tag to compare

🐛 eaef521 - Fix default configuration