Skip to content

Commit f72f207

Browse files
G-Rathljharb
authored andcommitted
[utils] [fix] parse: remove unneeded extra backticks
1 parent fcbdcba commit f72f207

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
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`: remove unneeded extra backticks ([#3057], thanks [@G-Rath])
10+
811
## v2.11.0 - 2024-09-05
912

1013
### New
@@ -165,6 +168,7 @@ Yanked due to critical issue with cache key resulting from #839.
165168
### Fixed
166169
- `unambiguous.test()` regex is now properly in multiline mode
167170

171+
[#3057]: https://github.com/import-js/eslint-plugin-import/pull/3057
168172
[#3049]: https://github.com/import-js/eslint-plugin-import/pull/3049
169173
[#3039]: https://github.com/import-js/eslint-plugin-import/pull/3039
170174
[#3018]: https://github.com/import-js/eslint-plugin-import/pull/3018
@@ -204,6 +208,7 @@ Yanked due to critical issue with cache key resulting from #839.
204208
[@brettz9]: https://github.com/brettz9
205209
[@christophercurrie]: https://github.com/christophercurrie
206210
[@DMartens]: https://github.com/DMartens
211+
[@G-Rath]: https://github.com/G-Rath
207212
[@hulkish]: https://github.com/hulkish
208213
[@Hypnosphi]: https://github.com/Hypnosphi
209214
[@iamnapo]: https://github.com/iamnapo

utils/parse.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ exports.default = function parse(path, content, context) {
161161
if (!ast || typeof ast !== 'object') {
162162
console.warn(
163163
// Can only be invalid for custom parser per imports/parser
164-
'`parseForESLint` from parser `' + (typeof parserOrPath === 'string' ? parserOrPath : '`context.languageOptions.parser`') + '` is invalid and will just be ignored'
164+
'`parseForESLint` from parser `' + (typeof parserOrPath === 'string' ? parserOrPath : 'context.languageOptions.parser') + '` is invalid and will just be ignored'
165165
);
166166
} else {
167167
// @ts-expect-error TODO: FIXME

0 commit comments

Comments
 (0)