1
1
mirror of https://github.com/n8n-io/n8n.git synced 2024-09-11 13:15:28 +03:00
n8n/patches/@typescript-eslint__eslint-plugin@5.59.0.patch
2023-04-24 14:47:13 +02:00

13 lines
813 B
Diff

diff --git a/dist/rules/consistent-type-imports.js b/dist/rules/consistent-type-imports.js
index 1844dc32b19d10abbe13556b9ee2f69c0aabac05..01320c5212fd61e08ca8a438db3ccd59949f9421 100644
--- a/dist/rules/consistent-type-imports.js
+++ b/dist/rules/consistent-type-imports.js
@@ -81,6 +81,8 @@ exports.default = util.createRule({
ImportDeclaration(node) {
var _a;
const source = node.source.value;
+ if (source.endsWith('.vue')) return;
+
// sourceImports is the object containing all the specifics for a particular import source, type or value
const sourceImports = (_a = sourceImportsMap[source]) !== null && _a !== void 0 ? _a : (sourceImportsMap[source] = {
source,