diff --git a/.jsconfig.json b/.jsconfig.json new file mode 100644 index 0000000..7c82acb --- /dev/null +++ b/.jsconfig.json @@ -0,0 +1,8 @@ +{ + "compilerOptions": { + "paths": { + "@/*": ["./src/*"] + } + }, + "exclude": ["node_modules", "dist"] + } \ No newline at end of file diff --git a/eslint.config.js b/eslint.config.js index 7d5f195..24f9a96 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -18,6 +18,6 @@ export default [ }, }, { - ignores: ['**/dist/**', '**/dist-ssr/**', '**/coverage/**'], + ignores: ["**/dist/**", "**/dist-ssr/**", "**/coverage/**"], }, ]; diff --git a/src/components/SearchInput.vue b/src/components/SearchInput.vue index 22e540e..1b9e30c 100644 --- a/src/components/SearchInput.vue +++ b/src/components/SearchInput.vue @@ -64,7 +64,7 @@ export default { }); }, hasFocus: function () { - return document.activeElement == this.$refs.search + return document.activeElement == this.$refs.search; }, setSearchURL: function (value) { const url = new URL(window.location); diff --git a/src/components/Service.vue b/src/components/Service.vue index ac378ec..405bf10 100644 --- a/src/components/Service.vue +++ b/src/components/Service.vue @@ -1,10 +1,12 @@