diff --git a/eslint.config.js b/eslint.config.js deleted file mode 100644 index 99bf0c7..0000000 --- a/eslint.config.js +++ /dev/null @@ -1,22 +0,0 @@ -import antfu from '@antfu/eslint-config' - -export default await antfu({ - stylistic: { - indent: 2, - quotes: 'single', - }, - typescript: true, - vue: true, - rules: { - 'vue/singleline-html-element-content-newline': 'off', - 'vue/html-self-closing': ['error', { - html: { - void: 'always', - normal: 'always', - component: 'always', - }, - svg: 'always', - math: 'always', - }], - }, -}) diff --git a/package.json b/package.json index d7c1469..8d5a8fd 100644 --- a/package.json +++ b/package.json @@ -6,19 +6,15 @@ "scripts": { "dev": "vite", "build": "vue-tsc && vite build", - "preview": "vite preview", - "lint": "eslint .", - "lint:fix": "eslint . --fix" + "preview": "vite preview" }, "dependencies": { "vue": "^3.3.8", "vuedraggable": "^4.1.0" }, "devDependencies": { - "@antfu/eslint-config": "^2.1.1", "@types/node": "^20.9.4", "@vitejs/plugin-vue": "^4.5.0", - "eslint": "^8.54.0", "less": "^4.2.0", "typescript": "^5.2.2", "vite": "^5.0.0", diff --git a/src/App.vue b/src/App.vue index 4debd20..d1809b3 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,130 +1,110 @@ - @@ -47,8 +48,8 @@ function cloneModule(src: Module): Block {
@@ -58,17 +59,17 @@ function cloneModule(src: Module): Block {