Skip to content

Commit 20e3f29

Browse files
JoshuaKGoldbergljharb
authored andcommitted
[utils] [fix] parse: also delete parserOptions.EXPERIMENTAL_useProjectService
1 parent e55d05a commit 20e3f29

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

utils/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ This change log adheres to standards from [Keep a CHANGELOG](https://keepachange
55

66
## Unreleased
77

8+
### Fixed
9+
- `parse`: also delete `parserOptions.EXPERIMENTAL_useProjectService` ([#2963], thanks [@JoshuaKGoldberg])
10+
811
## v2.8.0 - 2023-04-14
912

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

137+
[#2963]: https://github.com/import-js/eslint-plugin-import/pull/2963
134138
[#2755]: https://github.com/import-js/eslint-plugin-import/pull/2755
135139
[#2714]: https://github.com/import-js/eslint-plugin-import/pull/2714
136140
[#2523]: https://github.com/import-js/eslint-plugin-import/pull/2523
@@ -169,6 +173,7 @@ Yanked due to critical issue with cache key resulting from #839.
169173
[@hulkish]: https://github.com/hulkish
170174
[@Hypnosphi]: https://github.com/Hypnosphi
171175
[@iamnapo]: https://github.com/iamnapo
176+
[@JoshuaKGoldberg]: https://github.com/JoshuaKGoldberg
172177
[@JounQin]: https://github.com/JounQin
173178
[@kaiyoma]: https://github.com/kaiyoma
174179
[@leipert]: https://github.com/leipert

utils/parse.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ exports.default = function parse(path, content, context) {
8181
// "project" or "projects" in parserOptions. Removing these options means the parser will
8282
// only parse one file in isolate mode, which is much, much faster.
8383
// https://github.com/import-js/eslint-plugin-import/issues/1408#issuecomment-509298962
84+
delete parserOptions.EXPERIMENTAL_useProjectService;
8485
delete parserOptions.project;
8586
delete parserOptions.projects;
8687

0 commit comments

Comments
 (0)