ember-components / ember-component-patterns

Transforming https://emberjs-1.gitbook.io/ember-component-patterns/ into an Ember app
7 stars 2 forks source link

Update dependency eslint-plugin-ember to v10.6.1 #81

Open renovate[bot] opened 3 years ago

renovate[bot] commented 3 years ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
eslint-plugin-ember 10.2.0 -> 10.6.1 age adoption passing confidence

Release Notes

ember-cli/eslint-plugin-ember (eslint-plugin-ember) ### [`v10.6.1`](https://redirect.github.com/ember-cli/eslint-plugin-ember/blob/HEAD/CHANGELOG.md#v1061-2022-05-04) [Compare Source](https://redirect.github.com/ember-cli/eslint-plugin-ember/compare/v10.6.0...v10.6.1) ##### :bug: Bug Fix - [#​1476](https://redirect.github.com/ember-cli/eslint-plugin-ember/pull/1476) Catch `replace` in `no-array-prototype-extensions` rule ([@​smilland](https://redirect.github.com/smilland)) ##### Committers: 1 - Hang Li ([@​smilland](https://redirect.github.com/smilland)) ### [`v10.6.0`](https://redirect.github.com/ember-cli/eslint-plugin-ember/blob/HEAD/CHANGELOG.md#v1060-2022-04-08) [Compare Source](https://redirect.github.com/ember-cli/eslint-plugin-ember/compare/v10.5.9...v10.6.0) ##### :rocket: Enhancement - [#​1461](https://redirect.github.com/ember-cli/eslint-plugin-ember/pull/1461) Add new rule `no-array-prototype-extensions` ([@​smilland](https://redirect.github.com/smilland)) ##### Committers: 1 - Hang Li ([@​smilland](https://redirect.github.com/smilland)) ### [`v10.5.9`](https://redirect.github.com/ember-cli/eslint-plugin-ember/blob/HEAD/CHANGELOG.md#v1059-2022-02-14) [Compare Source](https://redirect.github.com/ember-cli/eslint-plugin-ember/compare/v10.5.8...v10.5.9) ##### :bug: Bug Fix - [#​1431](https://redirect.github.com/ember-cli/eslint-plugin-ember/pull/1431) Fix crash in `jquery-ember-run` rule ([@​ef4](https://redirect.github.com/ef4)) ##### :memo: Documentation - [#​1410](https://redirect.github.com/ember-cli/eslint-plugin-ember/pull/1410) Fix broken URLs in documentation ([@​bmish](https://redirect.github.com/bmish)) ##### :house: Internal - [#​1402](https://redirect.github.com/ember-cli/eslint-plugin-ember/pull/1402) Add GitHub Actions to Dependabot config ([@​ddzz](https://redirect.github.com/ddzz)) ##### Committers: 3 - Bryan Mishkin ([@​bmish](https://redirect.github.com/bmish)) - Darius D. ([@​ddzz](https://redirect.github.com/ddzz)) - Edward Faulkner ([@​ef4](https://redirect.github.com/ef4)) ### [`v10.5.8`](https://redirect.github.com/ember-cli/eslint-plugin-ember/blob/HEAD/CHANGELOG.md#v1058-2021-11-23) [Compare Source](https://redirect.github.com/ember-cli/eslint-plugin-ember/compare/v10.5.7...v10.5.8) ##### :bug: Bug Fix - [#​1374](https://redirect.github.com/ember-cli/eslint-plugin-ember/pull/1374) Allow empty-but-decorated classes in `no-empty-glimmer-component-classes` rule ([@​adrigzr](https://redirect.github.com/adrigzr)) ##### :memo: Documentation - [#​1364](https://redirect.github.com/ember-cli/eslint-plugin-ember/pull/1364) Fix typos in violation message for `classic-decorator-hooks` rule ([@​nlfurniss](https://redirect.github.com/nlfurniss)) ##### Committers: 4 - Adrián González Rus ([@​adrigzr](https://redirect.github.com/adrigzr)) - Bryan Mishkin ([@​bmish](https://redirect.github.com/bmish)) - Darius D. ([@​ddzz](https://redirect.github.com/ddzz)) - Nathaniel Furniss ([@​nlfurniss](https://redirect.github.com/nlfurniss)) ### [`v10.5.7`](https://redirect.github.com/ember-cli/eslint-plugin-ember/blob/HEAD/CHANGELOG.md#v1057-2021-10-13) [Compare Source](https://redirect.github.com/ember-cli/eslint-plugin-ember/compare/v10.5.6...v10.5.7) ##### :bug: Bug Fix - [#​1336](https://redirect.github.com/ember-cli/eslint-plugin-ember/pull/1336) Avoid crash when estraverse does not recognize node type during traversal ([@​bmish](https://redirect.github.com/bmish)) ##### Committers: 1 - Bryan Mishkin ([@​bmish](https://redirect.github.com/bmish)) ### [`v10.5.6`](https://redirect.github.com/ember-cli/eslint-plugin-ember/blob/HEAD/CHANGELOG.md#v1056-2021-10-12) [Compare Source](https://redirect.github.com/ember-cli/eslint-plugin-ember/compare/v10.5.5...v10.5.6) ##### :bug: Bug Fix - [#​1333](https://redirect.github.com/ember-cli/eslint-plugin-ember/pull/1333) Support ESLint v8 by switching from ESLint's internal traverser to `estraverse` ([@​bmish](https://redirect.github.com/bmish)) ##### Committers: 1 - Bryan Mishkin ([@​bmish](https://redirect.github.com/bmish)) ### [`v10.5.5`](https://redirect.github.com/ember-cli/eslint-plugin-ember/blob/HEAD/CHANGELOG.md#v1055-2021-09-20) [Compare Source](https://redirect.github.com/ember-cli/eslint-plugin-ember/compare/v10.5.4...v10.5.5) ##### :bug: Bug Fix - [#​1297](https://redirect.github.com/ember-cli/eslint-plugin-ember/pull/1297) Support if/else route definitions in `no-shadow-route-definition` rule ([@​raido](https://redirect.github.com/raido)) ##### :memo: Documentation - [#​1300](https://redirect.github.com/ember-cli/eslint-plugin-ember/pull/1300) Add `eslint-plugin` keywords in package.json ([@​bmish](https://redirect.github.com/bmish)) - [#​1294](https://redirect.github.com/ember-cli/eslint-plugin-ember/pull/1294) Super call missing arguments in some rule docs ([@​StephanH90](https://redirect.github.com/StephanH90)) ##### :house: Internal - [#​1301](https://redirect.github.com/ember-cli/eslint-plugin-ember/pull/1301) Add jsdoc `type` annotation to rules ([@​bmish](https://redirect.github.com/bmish)) - [#​1299](https://redirect.github.com/ember-cli/eslint-plugin-ember/pull/1299) Cache dependencies on GitHub Actions to speed up CI ([@​ddzz](https://redirect.github.com/ddzz)) ##### Committers: 4 - Bryan Mishkin ([@​bmish](https://redirect.github.com/bmish)) - Darius Dzien ([@​ddzz](https://redirect.github.com/ddzz)) - Raido Kuli ([@​raido](https://redirect.github.com/raido)) - [@​StephanH90](https://redirect.github.com/StephanH90) ### [`v10.5.4`](https://redirect.github.com/ember-cli/eslint-plugin-ember/blob/HEAD/CHANGELOG.md#v1054-2021-08-24) [Compare Source](https://redirect.github.com/ember-cli/eslint-plugin-ember/compare/v10.5.3...v10.5.4) ##### :bug: Bug Fix - [#​1286](https://redirect.github.com/ember-cli/eslint-plugin-ember/pull/1286) Avoid unnecessary optional chaining in autofix for `no-get` rule when using `useOptionalChaining` option ([@​raycohen](https://redirect.github.com/raycohen)) ##### Committers: 1 - Ray Cohen ([@​raycohen](https://redirect.github.com/raycohen)) ### [`v10.5.3`](https://redirect.github.com/ember-cli/eslint-plugin-ember/blob/HEAD/CHANGELOG.md#v1053-2021-08-17) [Compare Source](https://redirect.github.com/ember-cli/eslint-plugin-ember/compare/v10.5.2...v10.5.3) ##### :bug: Bug Fix - [#​1283](https://redirect.github.com/ember-cli/eslint-plugin-ember/pull/1283) Fix crash with `let foo` in `no-controller-access-in-routes` ([@​bmish](https://redirect.github.com/bmish)) ##### Committers: 1 - Bryan Mishkin ([@​bmish](https://redirect.github.com/bmish)) ### [`v10.5.2`](https://redirect.github.com/ember-cli/eslint-plugin-ember/blob/HEAD/CHANGELOG.md#v1052-2021-08-17) [Compare Source](https://redirect.github.com/ember-cli/eslint-plugin-ember/compare/v10.5.1...v10.5.2) ##### :bug: Bug Fix - [#​1281](https://redirect.github.com/ember-cli/eslint-plugin-ember/pull/1281) Catch destructured controller access in `no-controller-access-in-routes` rule ([@​bmish](https://redirect.github.com/bmish)) - [#​1277](https://redirect.github.com/ember-cli/eslint-plugin-ember/pull/1277) Fix IIFE crash in `require-return-from-computed` rule ([@​aniketh-deepsource](https://redirect.github.com/aniketh-deepsource)) ##### :memo: Documentation - [#​1275](https://redirect.github.com/ember-cli/eslint-plugin-ember/pull/1275) Fix typo in `no-controller-access-in-routes` rule doc ([@​locks](https://redirect.github.com/locks)) - [#​1245](https://redirect.github.com/ember-cli/eslint-plugin-ember/pull/1245) Explain how to fix violations in `no-empty-glimmer-component-classes` rule doc ([@​hxqlin](https://redirect.github.com/hxqlin)) ##### :house: Internal - [#​1280](https://redirect.github.com/ember-cli/eslint-plugin-ember/pull/1280) Add CodeQL ([@​bmish](https://redirect.github.com/bmish)) ##### Committers: 4 - Bryan Mishkin ([@​bmish](https://redirect.github.com/bmish)) - Hannah Lin ([@​hxqlin](https://redirect.github.com/hxqlin)) - Ricardo Mendes ([@​locks](https://redirect.github.com/locks)) - [@​aniketh-deepsource](https://redirect.github.com/aniketh-deepsource) ### [`v10.5.1`](https://redirect.github.com/ember-cli/eslint-plugin-ember/blob/HEAD/CHANGELOG.md#v1051-2021-06-20) [Compare Source](https://redirect.github.com/ember-cli/eslint-plugin-ember/compare/v10.5.0...v10.5.1) ##### :bug: Bug Fix - [#​1237](https://redirect.github.com/ember-cli/eslint-plugin-ember/pull/1237) Stop using deprecated ESLint `report` API ([@​bmish](https://redirect.github.com/bmish)) - [#​1230](https://redirect.github.com/ember-cli/eslint-plugin-ember/pull/1230) Use `meta.hasSuggestions` for suggestable rules to prepare for ESLint 8 ([@​bmish](https://redirect.github.com/bmish)) ##### :memo: Documentation - [#​1241](https://redirect.github.com/ember-cli/eslint-plugin-ember/pull/1241) Indicate which rules provide automated suggestions in README rules table ([@​bmish](https://redirect.github.com/bmish)) ##### :house: Internal - [#​1222](https://redirect.github.com/ember-cli/eslint-plugin-ember/pull/1222) Use `ecmaVersion` of `2020` internally for tests/linting ([@​bmish](https://redirect.github.com/bmish)) ##### Committers: 1 - Bryan Mishkin ([@​bmish](https://redirect.github.com/bmish)) ### [`v10.5.0`](https://redirect.github.com/ember-cli/eslint-plugin-ember/blob/HEAD/CHANGELOG.md#v1050-2021-05-30) [Compare Source](https://redirect.github.com/ember-cli/eslint-plugin-ember/compare/v10.4.2...v10.5.0) ##### :rocket: Enhancement - [#​1188](https://redirect.github.com/ember-cli/eslint-plugin-ember/pull/1188) Add new rule [no-implicit-service-injection-argument](https://redirect.github.com/ember-cli/eslint-plugin-ember/blob/master/docs/rules/no-implicit-service-injection-argument.md) ([@​bmish](https://redirect.github.com/bmish)) - [#​1194](https://redirect.github.com/ember-cli/eslint-plugin-ember/pull/1194) Add new rule [no-restricted-property-modifications](https://redirect.github.com/ember-cli/eslint-plugin-ember/blob/master/docs/rules/no-restricted-property-modifications.md) ([@​bmish](https://redirect.github.com/bmish)) - [#​1199](https://redirect.github.com/ember-cli/eslint-plugin-ember/pull/1199) build(deps): bump eslint-utils from 2.1.0 to 3.0.0 ([@​dependabot\[bot\]](https://redirect.github.com/apps/dependabot)) ##### :bug: Bug Fix - [#​1212](https://redirect.github.com/ember-cli/eslint-plugin-ember/pull/1212) Improve detection of property names (check string literals in addition to identifiers) in several rules ([@​bmish](https://redirect.github.com/bmish)) - [#​1211](https://redirect.github.com/ember-cli/eslint-plugin-ember/pull/1211) Fix false positive with non-components in `require-tagless-components` rule ([@​bmish](https://redirect.github.com/bmish)) - [#​1210](https://redirect.github.com/ember-cli/eslint-plugin-ember/pull/1210) Avoid some false positives with lodash usage when recognizing extended Ember objects ([@​bmish](https://redirect.github.com/bmish)) - [#​1197](https://redirect.github.com/ember-cli/eslint-plugin-ember/pull/1197) Check import when detecting controller usage in `order-in-*` rules ([@​lin-ll](https://redirect.github.com/lin-ll)) - [#​1196](https://redirect.github.com/ember-cli/eslint-plugin-ember/pull/1196) Check import when detecting observer usage in `order-in-*` rules ([@​lin-ll](https://redirect.github.com/lin-ll)) ##### :memo: Documentation - [#​1213](https://redirect.github.com/ember-cli/eslint-plugin-ember/pull/1213) Explain why some rules are not in the `recommended` config ([@​bmish](https://redirect.github.com/bmish)) - [#​1204](https://redirect.github.com/ember-cli/eslint-plugin-ember/pull/1204) Improve columns in README rules table ([@​bmish](https://redirect.github.com/bmish)) ##### Committers: 2 - Bryan Mishkin ([@​bmish](https://redirect.github.com/bmish)) - Lucy Lin ([@​lin-ll](https://redirect.github.com/lin-ll)) ### [`v10.4.2`](https://redirect.github.com/ember-cli/eslint-plugin-ember/blob/HEAD/CHANGELOG.md#v1042-2021-05-13) [Compare Source](https://redirect.github.com/ember-cli/eslint-plugin-ember/compare/v10.4.1...v10.4.2) ##### :bug: Bug Fix - [#​1195](https://redirect.github.com/ember-cli/eslint-plugin-ember/pull/1195) Fix false positives with service/controller/observer detection in some rules ([@​lin-ll](https://redirect.github.com/lin-ll)) - [#​1187](https://redirect.github.com/ember-cli/eslint-plugin-ember/pull/1187) Fix optional chaining support to handle newer ChainExpression implementation ([@​bmish](https://redirect.github.com/bmish)) - [#​1179](https://redirect.github.com/ember-cli/eslint-plugin-ember/pull/1179) Handle spread syntax with both `babel-eslint` and `@babel/eslint-parser` parsers in `order-in-*` rules ([@​bmish](https://redirect.github.com/bmish)) ##### :house: Internal - [#​1191](https://redirect.github.com/ember-cli/eslint-plugin-ember/pull/1191) Use `requireindex` to export rules and configs ([@​bmish](https://redirect.github.com/bmish)) - [#​1180](https://redirect.github.com/ember-cli/eslint-plugin-ember/pull/1180) Switch from `babel-eslint` to `@babel/eslint-parser` ([@​bmish](https://redirect.github.com/bmish)) ##### Committers: 2 - Bryan Mishkin ([@​bmish](https://redirect.github.com/bmish)) - Lucy Lin ([@​lin-ll](https://redirect.github.com/lin-ll)) ### [`v10.4.1`](https://redirect.github.com/ember-cli/eslint-plugin-ember/blob/HEAD/CHANGELOG.md#v1041-2021-04-21) [Compare Source](https://redirect.github.com/ember-cli/eslint-plugin-ember/compare/v10.4.0...v10.4.1) ##### :bug: Bug Fix - [#​1160](https://redirect.github.com/ember-cli/eslint-plugin-ember/pull/1160) Account for observer dependent keys in `no-unused-services` rule ([@​lin-ll](https://redirect.github.com/lin-ll)) - [#​1164](https://redirect.github.com/ember-cli/eslint-plugin-ember/pull/1164) Account for `observes` decorator in `no-unused-services` rule ([@​lin-ll](https://redirect.github.com/lin-ll)) - [#​1162](https://redirect.github.com/ember-cli/eslint-plugin-ember/pull/1162) Update several rules to check imports when checking for Ember service injections ([@​lin-ll](https://redirect.github.com/lin-ll)) - [#​1167](https://redirect.github.com/ember-cli/eslint-plugin-ember/pull/1167) Update route rules to handle route path option passed as object variable ([@​bmish](https://redirect.github.com/bmish)) - [#​1165](https://redirect.github.com/ember-cli/eslint-plugin-ember/pull/1165) Improve robustness of classic class body detection in several rules using `getModuleProperties` util ([@​bmish](https://redirect.github.com/bmish)) - [#​1159](https://redirect.github.com/ember-cli/eslint-plugin-ember/pull/1159) Improve robustness of classic class component body detection in `require-tagless-components` rule ([@​bmish](https://redirect.github.com/bmish)) - [#​1158](https://redirect.github.com/ember-cli/eslint-plugin-ember/pull/1158) Improve robustness of classic class controller body detection in `no-controllers` rule ([@​bmish](https://redirect.github.com/bmish)) - [#​1168](https://redirect.github.com/ember-cli/eslint-plugin-ember/pull/1168) Avoid some false positives with jQuery usage when recognizing extended objects ([@​bmish](https://redirect.github.com/bmish)) ##### :memo: Documentation - [#​1161](https://redirect.github.com/ember-cli/eslint-plugin-ember/pull/1161) Tweak messaging around false positives in `no-unused-services` rule ([@​bmish](https://redirect.github.com/bmish)) ##### Committers: 2 - Bryan Mishkin ([@​bmish](https://redirect.github.com/bmish)) - Lucy Lin ([@​lin-ll](https://redirect.github.com/lin-ll)) ### [`v10.4.0`](https://redirect.github.com/ember-cli/eslint-plugin-ember/blob/HEAD/CHANGELOG.md#v1040-2021-04-20) [Compare Source](https://redirect.github.com/ember-cli/eslint-plugin-ember/compare/v10.3.0...v10.4.0) ##### :rocket: Enhancement - [#​1143](https://redirect.github.com/ember-cli/eslint-plugin-ember/pull/1143) Add new rule `no-unused-services` ([@​lin-ll](https://redirect.github.com/lin-ll)) - [#​1127](https://redirect.github.com/ember-cli/eslint-plugin-ember/pull/1127) Add automated suggestion to `route-path-style` rule for converting route path to kebab case ([@​bmish](https://redirect.github.com/bmish)) ##### :bug: Bug Fix - [#​1150](https://redirect.github.com/ember-cli/eslint-plugin-ember/pull/1150) `no-get` rule should ignore proxy classes that look like `ObjectProxy.extend(SomeMixin)` ([@​bmish](https://redirect.github.com/bmish)) - [#​1149](https://redirect.github.com/ember-cli/eslint-plugin-ember/pull/1149) Detect classic classes which have object variables passed to them in `no-classic-classes` rule ([@​bmish](https://redirect.github.com/bmish)) - [#​1135](https://redirect.github.com/ember-cli/eslint-plugin-ember/pull/1135) Fix false positive in same level routes but nested paths in `no-shadow-route-definition` rule ([@​raido](https://redirect.github.com/raido)) - [#​1132](https://redirect.github.com/ember-cli/eslint-plugin-ember/pull/1132) Fix crash with dynamic/variable route name in `no-shadow-route-definition` rule (again) ([@​raido](https://redirect.github.com/raido)) ##### Committers: 3 - Bryan Mishkin ([@​bmish](https://redirect.github.com/bmish)) - Lucy Lin ([@​lin-ll](https://redirect.github.com/lin-ll)) - Raido Kuli ([@​raido](https://redirect.github.com/raido)) ### [`v10.3.0`](https://redirect.github.com/ember-cli/eslint-plugin-ember/blob/HEAD/CHANGELOG.md#v1030-2021-03-22) [Compare Source](https://redirect.github.com/ember-cli/eslint-plugin-ember/compare/v10.2.0...v10.3.0) ##### :rocket: Enhancement - [#​1113](https://redirect.github.com/ember-cli/eslint-plugin-ember/pull/1113) Add `additionalClassImports` option to `no-classic-classes` rule ([@​scalvert](https://redirect.github.com/scalvert)) ##### :bug: Bug Fix - [#​1115](https://redirect.github.com/ember-cli/eslint-plugin-ember/pull/1115) Fix crash with dynamic/variable route name in `no-shadow-route-definition` rule ([@​bmish](https://redirect.github.com/bmish)) - [#​1102](https://redirect.github.com/ember-cli/eslint-plugin-ember/pull/1102) Fix crash with `this.extend()` in `no-classic-classes` rule ([@​bmish](https://redirect.github.com/bmish)) - [#​1114](https://redirect.github.com/ember-cli/eslint-plugin-ember/pull/1114) Ensure rules validate arrays in options to have at least one item and unique items ([@​bmish](https://redirect.github.com/bmish)) - [#​1103](https://redirect.github.com/ember-cli/eslint-plugin-ember/pull/1103) Only calculate source module name once in import util function for slight optimization ([@​bmish](https://redirect.github.com/bmish)) - [#​1081](https://redirect.github.com/ember-cli/eslint-plugin-ember/pull/1081) Update `avoid-leaking-state-in-ember-objects` rule to apply to mixins ([@​jaydgruber](https://redirect.github.com/jaydgruber)) ##### Committers: 3 - Bryan Mishkin ([@​bmish](https://redirect.github.com/bmish)) - Steve Calvert ([@​scalvert](https://redirect.github.com/scalvert)) - [@​jaydgruber](https://redirect.github.com/jaydgruber)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR was generated by Mend Renovate. View the repository job log.