diff --git a/.eslintrc.js b/.eslintrc.js index d177747..26b0775 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -48,6 +48,18 @@ module.exports = { 'no-use-before-define': 'off', '@typescript-eslint/explicit-module-boundary-types': 'off', + '@typescript-eslint/no-unused-vars': [ + 'error', + { + args: 'all', + argsIgnorePattern: '^_', + caughtErrors: 'all', + caughtErrorsIgnorePattern: '^_', + destructuredArrayIgnorePattern: '^_', + varsIgnorePattern: '^_', + ignoreRestSiblings: true, + }, + ], // Allow missing file extensions 'import/extensions': [ diff --git a/app/index.html b/app/index.html index 5cc968a..040d38c 100644 --- a/app/index.html +++ b/app/index.html @@ -8,6 +8,6 @@
- + diff --git a/app/package.json b/app/package.json index 0e605f5..a78bcaf 100644 --- a/app/package.json +++ b/app/package.json @@ -2,7 +2,6 @@ "name": "app", "private": true, "version": "0.0.0", - "type": "module", "scripts": { "dev": "vite", "dev:docker": "API_TARGET=http://backend:3000 vite", @@ -18,6 +17,7 @@ "@linux-odyssey/constants": "*", "@linux-odyssey/file-graph": "*", "@linux-odyssey/utils": "*", + "@types/dompurify": "^3.0.5", "axios": "^1.6.0", "dompurify": "^3.0.6", "echarts": "^5.4.3", @@ -33,6 +33,7 @@ "xterm-addon-fit": "^0.7.0" }, "devDependencies": { + "@types/validator": "^13.11.9", "@vitejs/plugin-vue": "^4.5.2", "@vue/compiler-sfc": "^3.3.13", "autoprefixer": "^10.4.14", diff --git a/app/postcss.config.js b/app/postcss.config.ts similarity index 76% rename from app/postcss.config.js rename to app/postcss.config.ts index 2e7af2b..33ad091 100644 --- a/app/postcss.config.js +++ b/app/postcss.config.ts @@ -1,4 +1,4 @@ -export default { +module.exports = { plugins: { tailwindcss: {}, autoprefixer: {}, diff --git a/app/src/components/AuthForm.vue b/app/src/components/AuthForm.vue index e4f4645..7d05cb6 100644 --- a/app/src/components/AuthForm.vue +++ b/app/src/components/AuthForm.vue @@ -1,4 +1,4 @@ - + + diff --git a/app/src/components/DynamicBackground.vue b/app/src/components/DynamicBackground.vue index ef163c9..11bc5f6 100644 --- a/app/src/components/DynamicBackground.vue +++ b/app/src/components/DynamicBackground.vue @@ -1,26 +1,34 @@ - + - - diff --git a/app/src/components/TreeChart.vue b/app/src/components/TreeChart.vue index e86d0e0..aada966 100644 --- a/app/src/components/TreeChart.vue +++ b/app/src/components/TreeChart.vue @@ -1,6 +1,6 @@ -