ci(editor): Enfore stricter linting rules from eslint-plugin-vue (no-changelog) (#6242)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2023-05-19 13:31:16 +00:00
committed by GitHub
parent 8a8fed0840
commit 4b5cbe7750
56 changed files with 239 additions and 178 deletions

View File

@@ -1,13 +0,0 @@
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,