File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -237,7 +237,8 @@ module.exports = {
237237 if ( candidate && isUseOfExtensionRequired ( candidate . replace ( / ^ \. / , '' ) , isPackage ) ) {
238238 context . report ( {
239239 node,
240- messageId : 'missingExtension' ,
240+ message :
241+ `Missing file extension for "${ importPathWithQueryString } "` ,
241242 data : {
242243 importPath : importPathWithQueryString ,
243244 expected : candidate ,
@@ -253,7 +254,7 @@ module.exports = {
253254 if ( isUseOfExtensionForbidden ( extension ) && isResolvableWithoutExtension ( importPath , extension ) ) {
254255 context . report ( {
255256 node : source ,
256- messageId : 'unexpectedExtension' ,
257+ message : `Unexpected use of file extension " ${ extension } " for " ${ importPathWithQueryString } "` ,
257258 data : {
258259 extension,
259260 importPath : importPathWithQueryString ,
You can’t perform that action at this time.
0 commit comments