Skip to content

Releases: ember-cli/eslint-plugin-ember

Release 10.5.3

17 Aug 14:36
Compare
Choose a tag to compare

🐛 Bug Fix

  • #1283 Fix crash with let foo in no-controller-access-in-routes (@bmish)

Committers: 1

Release 10.5.2

17 Aug 03:55
Compare
Choose a tag to compare

🐛 Bug Fix

📝 Documentation

  • #1275 Fix typo in no-controller-access-in-routes rule doc (@locks)
  • #1245 Explain how to fix violations in no-empty-glimmer-component-classes rule doc (@hxqlin)

🏠 Internal

Committers: 4

Release 10.5.1

20 Jun 18:08
Compare
Choose a tag to compare

🐛 Bug Fix

  • #1237 Stop using deprecated ESLint report API (@bmish)
  • #1230 Use meta.hasSuggestions for suggestable rules to prepare for ESLint 8 (@bmish)

📝 Documentation

  • #1241 Indicate which rules provide automated suggestions in README rules table (@bmish)

🏠 Internal

  • #1222 Use ecmaVersion of 2020 internally for tests/linting (@bmish)

Committers: 1

Release 10.5.0

30 May 22:13
Compare
Choose a tag to compare

🚀 Enhancement

🐛 Bug Fix

  • #1212 Improve detection of property names (check string literals in addition to identifiers) in several rules (@bmish)
  • #1211 Fix false positive with non-components in require-tagless-components rule (@bmish)
  • #1210 Avoid some false positives with lodash usage when recognizing extended Ember objects (@bmish)
  • #1197 Check import when detecting controller usage in order-in-* rules (@lin-ll)
  • #1196 Check import when detecting observer usage in order-in-* rules (@lin-ll)

📝 Documentation

  • #1213 Explain why some rules are not in the recommended config (@bmish)
  • #1204 Improve columns in README rules table (@bmish)

Committers: 2

Release 10.4.2

13 May 17:13
Compare
Choose a tag to compare

🐛 Bug Fix

  • #1195 Fix false positives with service/controller/observer detection in some rules (@lin-ll)
  • #1187 Fix optional chaining support to handle newer ChainExpression implementation (@bmish)
  • #1179 Handle spread syntax with both babel-eslint and @babel/eslint-parser parsers in order-in-* rules (@bmish)

🏠 Internal

  • #1191 Use requireindex to export rules and configs (@bmish)
  • #1180 Switch from babel-eslint to @babel/eslint-parser (@bmish)

Committers: 2

Release 10.4.1

21 Apr 23:14
Compare
Choose a tag to compare

🐛 Bug Fix

  • #1160 Account for observer dependent keys in no-unused-services rule (@lin-ll)
  • #1164 Account for observes decorator in no-unused-services rule (@lin-ll)
  • #1162 Update several rules to check imports when checking for Ember service injections (@lin-ll)
  • #1167 Update route rules to handle route path option passed as object variable (@bmish)
  • #1165 Improve robustness of classic class body detection in several rules using getModuleProperties util (@bmish)
  • #1159 Improve robustness of classic class component body detection in require-tagless-components rule (@bmish)
  • #1158 Improve robustness of classic class controller body detection in no-controllers rule (@bmish)
  • #1168 Avoid some false positives with jQuery usage when recognizing extended objects (@bmish)

📝 Documentation

  • #1161 Tweak messaging around false positives in no-unused-services rule (@bmish)

Committers: 2

Release 10.4.0

20 Apr 06:30
Compare
Choose a tag to compare

🚀 Enhancement

  • #1143 Add new rule no-unused-services (@lin-ll)
  • #1127 Add automated suggestion to route-path-style rule for converting route path to kebab case (@bmish)

🐛 Bug Fix

  • #1150 no-get rule should ignore proxy classes that look like ObjectProxy.extend(SomeMixin) (@bmish)
  • #1149 Detect classic classes which have object variables passed to them in no-classic-classes rule (@bmish)
  • #1135 Fix false positive in same level routes but nested paths in no-shadow-route-definition rule (@raido)
  • #1132 Fix crash with dynamic/variable route name in no-shadow-route-definition rule (again) (@raido)

Committers: 3

Release 10.3.0

22 Mar 21:42
Compare
Choose a tag to compare

🚀 Enhancement

  • #1113 Add additionalClassImports option to no-classic-classes rule (@scalvert)

🐛 Bug Fix

  • #1115 Fix crash with dynamic/variable route name in no-shadow-route-definition rule (@bmish)
  • #1102 Fix crash with this.extend() in no-classic-classes rule (@bmish)
  • #1114 Ensure rules validate arrays in options to have at least one item and unique items (@bmish)
  • #1103 Only calculate source module name once in import util function for slight optimization (@bmish)
  • #1081 Update avoid-leaking-state-in-ember-objects rule to apply to mixins (@jaydgruber)

Committers: 3

Release 10.2.0

31 Jan 19:27
Compare
Choose a tag to compare

🚀 Enhancement

🐛 Bug Fix

  • #1072 Improve jquery detection in jquery-ember-run rule (@bmish)

Committers: 2

Release 10.1.2

11 Jan 17:35
Compare
Choose a tag to compare

🐛 Bug Fix

  • #1063 Improve detection of globals and catch additional jQuery function calls in no-jquery rule (@BarryThePenguin)
  • #1066 Improve detection of globals in no-global-jquery rule (@bmish)

🏠 Internal

  • #1069 Improve tests for jquery-ember-run rule (@bmish)

Committers: 2