Skip to content

Commit

Permalink
[utils] [fix] parse: also delete `parserOptions.EXPERIMENTAL_usePro…
Browse files Browse the repository at this point in the history
…jectService`
  • Loading branch information
JoshuaKGoldberg authored and ljharb committed Feb 10, 2024
1 parent e55d05a commit 20e3f29
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions utils/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ This change log adheres to standards from [Keep a CHANGELOG](https://keepachange

## Unreleased

### Fixed
- `parse`: also delete `parserOptions.EXPERIMENTAL_useProjectService` ([#2963], thanks [@JoshuaKGoldberg])

## v2.8.0 - 2023-04-14

### New
Expand Down Expand Up @@ -131,6 +134,7 @@ Yanked due to critical issue with cache key resulting from #839.
### Fixed
- `unambiguous.test()` regex is now properly in multiline mode

[#2963]: https://github.com/import-js/eslint-plugin-import/pull/2963
[#2755]: https://github.com/import-js/eslint-plugin-import/pull/2755
[#2714]: https://github.com/import-js/eslint-plugin-import/pull/2714
[#2523]: https://github.com/import-js/eslint-plugin-import/pull/2523
Expand Down Expand Up @@ -169,6 +173,7 @@ Yanked due to critical issue with cache key resulting from #839.
[@hulkish]: https://github.com/hulkish
[@Hypnosphi]: https://github.com/Hypnosphi
[@iamnapo]: https://github.com/iamnapo
[@JoshuaKGoldberg]: https://github.com/JoshuaKGoldberg
[@JounQin]: https://github.com/JounQin
[@kaiyoma]: https://github.com/kaiyoma
[@leipert]: https://github.com/leipert
Expand Down
1 change: 1 addition & 0 deletions utils/parse.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ exports.default = function parse(path, content, context) {
// "project" or "projects" in parserOptions. Removing these options means the parser will
// only parse one file in isolate mode, which is much, much faster.
// https://github.com/import-js/eslint-plugin-import/issues/1408#issuecomment-509298962
delete parserOptions.EXPERIMENTAL_useProjectService;
delete parserOptions.project;
delete parserOptions.projects;

Expand Down

0 comments on commit 20e3f29

Please sign in to comment.