diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 83500ffa..78078f67 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -1,7 +1,5 @@ { "recommendations": [ - "antfu.vite", - "antfu.browse-lite", "antfu.iconify", "aaron-bond.better-comments", "eamodio.gitlens", diff --git a/.vscode/settings.json b/.vscode/settings.json index a198221d..bfde9a84 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -35,12 +35,19 @@ } ], "vue.autoInsert.dotValue": true, - "vue.server.fullCompletionList": true, + "vue.inlayHints.missingProps": true, + "vue.complete.casing.props": "kebab", + "vue.complete.casing.tags": "pascal", + "vue.format.script.initialIndent": true, + "vue.format.style.initialIndent": true, + "vue.inlayHints.inlineHandlerLeading": true, + "vue.inlayHints.vBindShorthand": true, "sonarlint.output.showAnalyzerLogs": true, "sonarlint.output.showVerboseLogs": true, "sonarlint.connectedMode.project": { "connectionId": "jellyfin-vue", "projectKey": "jellyfin_jellyfin-vue" }, - "typescript.preferences.autoImportFileExcludePatterns": ["vue-router"] + "typescript.preferences.autoImportFileExcludePatterns": ["vue-router"], + "typescript.tsserver.experimental.enableProjectDiagnostics": true } diff --git a/frontend/.eslintrc.cjs b/frontend/.eslintrc.cjs index 877b7e33..4afe3b1e 100644 --- a/frontend/.eslintrc.cjs +++ b/frontend/.eslintrc.cjs @@ -67,6 +67,7 @@ module.exports = { 'file-progress' ], rules: { + '@stylistic/object-curly-spacing': ['error', 'always'], '@stylistic/semi': ['error', 'always'], '@stylistic/quotes': ['error', 'single', { 'avoidEscape': true }], '@stylistic/comma-dangle': 'error', diff --git a/frontend/package.json b/frontend/package.json index bd2082f5..75b56bec 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -15,7 +15,7 @@ "lint": "eslint . --ignore-path ../.gitignore --max-warnings=0 --cache --cache-location ../node_modules/.cache/eslint", "lint-fix": "eslint . --fix --ignore-path ../.gitignore --max-warnings=0 --cache --cache-location ../node_modules/.cache/eslint", "prod": "npm run build && npm run serve", - "typecheck": "vue-tsc --noEmit --skipLibCheck" + "typecheck": "vue-tsc" }, "dependencies": { "@jellyfin/sdk": "0.8.2", diff --git a/frontend/tsconfig.json b/frontend/tsconfig.json index 8e0aebac..ede27ac8 100644 --- a/frontend/tsconfig.json +++ b/frontend/tsconfig.json @@ -7,6 +7,7 @@ "resolveJsonModule": true, "sourceMap": true, "strict": true, + "skipLibCheck": true, "noEmit": true, "isolatedModules": true, "useDefineForClassFields": true,