We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f3f74b2 commit 3f05c68Copy full SHA for 3f05c68
lib/rules/no-import-compiler-macros.js
@@ -47,9 +47,8 @@ module.exports = {
47
48
return {
49
ImportDeclaration(node) {
50
- if (node.specifiers.length === 0) return
51
-
52
- if (!VUE_MODULES.has(node.source.value)) return
+ if (node.specifiers.length === 0 || !VUE_MODULES.has(node.source.value))
+ return
53
54
for (const specifier of node.specifiers) {
55
if (
0 commit comments