From d3d7136982975773af04ba39277eb1a5fbc6d73f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Franke?= Date: Sat, 8 Jul 2023 12:06:10 +0200 Subject: [PATCH] feat: bump up versions --- .eslintrc.cjs | 28 +++++++++++---- package.json | 12 +++---- src/app.html | 2 +- static/css/material-symbols-outlined.css | 44 ++++++++++++------------ vite.config.ts | 40 ++++++++++----------- 5 files changed, 71 insertions(+), 55 deletions(-) diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 3ccf435..4d8a471 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -1,13 +1,29 @@ module.exports = { root: true, parser: '@typescript-eslint/parser', - extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'prettier'], - plugins: ['svelte3', '@typescript-eslint'], - ignorePatterns: ['*.cjs'], - overrides: [{ files: ['*.svelte'], processor: 'svelte3/svelte3' }], - settings: { - 'svelte3/typescript': () => require('typescript') + parserOptions: { + // ... + project: 'tsconfig.json', + extraFileExtensions: ['.svelte'] // This is a required setting in `@typescript-eslint/parser` v4.24.0. }, + extends: [ + 'eslint:recommended', + 'plugin:@typescript-eslint/recommended', + 'plugin:svelte/recommended', + 'plugin:svelte/prettier' + ], + overrides: [ + { + files: ['*.svelte'], + parser: 'svelte-eslint-parser', + // Parse the `