eslint-plugin-file-extension-in-import-ts
Advanced tools
Comparing version 2.0.0 to 2.1.0
@@ -14,9 +14,8 @@ const path = require('node:path'); | ||
function getFilePath(isModule, id, options) { | ||
if (isModule) { | ||
return null; | ||
} | ||
try { | ||
return resolve.sync(id, options); | ||
} catch (_err) { | ||
if (isModule) { | ||
return null; | ||
} | ||
return path.resolve(options.basedir, id); | ||
@@ -23,0 +22,0 @@ } |
{ | ||
"name": "eslint-plugin-file-extension-in-import-ts", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"description": "The plugin check and fix file extensions in Node.js application type module in Typescript", | ||
@@ -5,0 +5,0 @@ "keywords": [], |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18006