Update
This commit is contained in:
25
patches/@typescript-eslint__typescript-estree@8.0.0.patch
Normal file
25
patches/@typescript-eslint__typescript-estree@8.0.0.patch
Normal file
@ -0,0 +1,25 @@
|
||||
diff --git a/dist/parseSettings/createParseSettings.js b/dist/parseSettings/createParseSettings.js
|
||||
index 4c8b40ae895d45bd7dfcf64c8e49e29ce48dd663..0a62880ff50b7341fa909155293cbdb77fa99c97 100644
|
||||
--- a/dist/parseSettings/createParseSettings.js
|
||||
+++ b/dist/parseSettings/createParseSettings.js
|
||||
@@ -1,4 +1,5 @@
|
||||
"use strict";
|
||||
+var fs = require("node:fs");
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
@@ -89,10 +90,12 @@ function createParseSettings(code, tsestreeOptions = {}) {
|
||||
tsestreeOptions.extraFileExtensions.every(ext => typeof ext === 'string')
|
||||
? tsestreeOptions.extraFileExtensions
|
||||
: [],
|
||||
- filePath: (0, shared_1.ensureAbsolutePath)(typeof tsestreeOptions.filePath === 'string' &&
|
||||
+ filePath: fs.realpathSync(
|
||||
+ (0, shared_1.ensureAbsolutePath)(typeof tsestreeOptions.filePath === 'string' &&
|
||||
tsestreeOptions.filePath !== '<input>'
|
||||
? tsestreeOptions.filePath
|
||||
- : getFileName(tsestreeOptions.jsx), tsconfigRootDir),
|
||||
+ : getFileName(tsestreeOptions.jsx), tsconfigRootDir)
|
||||
+ ),
|
||||
jsDocParsingMode,
|
||||
jsx: tsestreeOptions.jsx === true,
|
||||
loc: tsestreeOptions.loc === true,
|
Reference in New Issue
Block a user