From d5914343c9b0bb0ca062c7109951ba69e8d2887d Mon Sep 17 00:00:00 2001 From: Manuel <2084639+tennox@users.noreply.github.com> Date: Fri, 18 Feb 2022 04:12:25 +0100 Subject: [PATCH] eslint: Add vue setup compiler macros See https://dev.to/imomaliev/til-2021-10-04-fix-script-setup-defineprops-is-not-defined-38ic --- template/.eslintrc.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/template/.eslintrc.js b/template/.eslintrc.js index 68c4f7e..1fdb1cb 100644 --- a/template/.eslintrc.js +++ b/template/.eslintrc.js @@ -28,7 +28,8 @@ module.exports = { }, env: { - browser: true + browser: true, + 'vue/setup-compiler-macros': true, }, // Rules order is important, please avoid shuffling them