Set up typed eslint

This commit is contained in:
Joscha 2025-03-02 18:59:59 +01:00
parent dbdb3c66a3
commit 7ea8ac6715
5 changed files with 95 additions and 56 deletions

View file

@ -2,4 +2,11 @@ import { createApp } from "vue";
import "./style.css";
import App from "./App.vue";
// The type of App contains any in its type parameters, according to vscode.
// Presumably, this is what triggers the lint.
//
// @vue/eslint-config-typescript turns this option off entirely.
// https://github.com/vuejs/eslint-config-typescript/blob/bcdeb741521a718d44dfe77aadcf6d0702b1fd21/src/internals.ts#L139
//
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
createApp(App).mount("#app");