-
Notifications
You must be signed in to change notification settings - Fork 8.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Update linting dependencies, and setup eslint-plugin-unicorn (no-…
…changelog) (#6070)
- Loading branch information
Showing
5 changed files
with
342 additions
and
227 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -87,7 +87,7 @@ | |
"[email protected]": "patches/[email protected]", | ||
"[email protected]": "patches/[email protected]", | ||
"@sentry/[email protected]": "patches/@[email protected]", | ||
"@typescript-eslint/eslint-plugin@5.45.0": "patches/@typescript-eslint__eslint-plugin@5.45.0.patch" | ||
"@typescript-eslint/eslint-plugin@5.59.0": "patches/@typescript-eslint__eslint-plugin@5.59.0.patch" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
diff --git a/dist/rules/consistent-type-imports.js b/dist/rules/consistent-type-imports.js | ||
index fe6eaf80a1285b62ed93b0c32b74c889788c5164..de4e2ca30c131948e030b7d6dbce4ff50e3eff26 100644 | ||
index 1844dc32b19d10abbe13556b9ee2f69c0aabac05..01320c5212fd61e08ca8a438db3ccd59949f9421 100644 | ||
--- a/dist/rules/consistent-type-imports.js | ||
+++ b/dist/rules/consistent-type-imports.js | ||
@@ -87,6 +87,8 @@ exports.default = util.createRule({ | ||
@@ -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, |
Oops, something went wrong.