From f92d5db2a86521ae2d1dd826126c77913b9c17a1 Mon Sep 17 00:00:00 2001 From: ItMaga Date: Tue, 10 Oct 2023 10:50:41 +0300 Subject: [PATCH] use const instead let --- lib/rules/prefer-define-options.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rules/prefer-define-options.js b/lib/rules/prefer-define-options.js index b8db9a3e3..90c83fa9a 100644 --- a/lib/rules/prefer-define-options.js +++ b/lib/rules/prefer-define-options.js @@ -115,7 +115,7 @@ module.exports = { } /** @type {VStartTag | ImportDeclaration} */ - let insertAfterTag = lastImportDeclaration || scriptSetup.startTag + const insertAfterTag = lastImportDeclaration || scriptSetup.startTag return [ fixer.removeRange(removeRange),