Skip to content

Releases: ember-cli/eslint-plugin-ember

Release 10.5.6

12 Oct 16:52
Compare
Choose a tag to compare

🐛 Bug Fix

  • #1333 Support ESLint v8 by switching from ESLint's internal traverser to estraverse (@bmish)

Committers: 1

Release 10.5.5

20 Sep 22:56
Compare
Choose a tag to compare

🐛 Bug Fix

  • #1297 Support if/else route definitions in no-shadow-route-definition rule (@raido)

📝 Documentation

🏠 Internal

  • #1301 Add jsdoc type annotation to rules (@bmish)
  • #1299 Cache dependencies on GitHub Actions to speed up CI (@ddzz)

Committers: 4

Release 10.5.4

24 Aug 17:03
Compare
Choose a tag to compare

🐛 Bug Fix

  • #1286 Avoid unnecessary optional chaining in autofix for no-get rule when using useOptionalChaining option (@raycohen)

Committers: 1

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