OfficeDev / Office-Addin-Scripts

A set of scripts and packages that are consumed in Office add-ins projects.
MIT License
159 stars 100 forks source link

bug(eslint-plugin): lack of support for eslint v9 #889

Open jan-kubica opened 2 months ago

jan-kubica commented 2 months ago

Prerequisites

Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

Expected behavior

Be able to use the office plugin without any additional steps needed.

Current behavior

If eslint >=v9 is used, the following steps must be added to office plugin to make it work: https://eslint.org/blog/2024/05/eslint-compatibility-utilities/

Steps to Reproduce

  1. Update to eslint >=v9
  2. Run eslint .
  3. Get TypeError: context.getScope is not a function
tobiasbueschel commented 1 month ago

Having eslint v9 support would be great to have 👍 Are contributions accepted for this repository?

millerds commented 1 month ago

We have an internal work item to fix this (id 9430274), but we can't comment on a fix timeline.

Contributions are welcomed and will be reviewed. Might get done faster that way.