Procházet zdrojové kódy

fix: stylelint and webui cleanup

jamesread před 8 měsíci
rodič
revize
b0f24811b2

+ 1 - 0
.gitignore

@@ -13,3 +13,4 @@ frontend/node_modules
 custom-frontend
 integration-tests/screenshots/
 .vscode/
+webui/

+ 1 - 0
Makefile

@@ -49,6 +49,7 @@ devcontainer: compile podman-image podman-container
 
 webui-dist:
 	$(MAKE) -wC frontend dist
+	mv frontend/dist webui
 
 clean:
 	$(call delete-files,dist)

+ 1 - 1
frontend/.eslintrc.json

@@ -12,4 +12,4 @@
     },
     "rules": {
     }
-}
+}

+ 1 - 1
frontend/Makefile

@@ -18,4 +18,4 @@ build:
 
 dist: deps clean build
 
-.PHONY: codestyle
+.PHONY: codestyle

+ 0 - 1
frontend/js/ArgumentForm.js

@@ -1,4 +1,3 @@
-
 class ArgumentForm extends window.HTMLElement {
   getQueryParams () {
     return new URLSearchParams(window.location.search.substring(1))

Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 2224 - 213
frontend/package-lock.json


+ 2 - 0
frontend/package.json

@@ -5,6 +5,8 @@
 	"repository": "https://github.com/OliveTin/OliveTin",
 	"source": "index.html",
 	"devDependencies": {
+		"eslint": "^8.57.1",
+		"eslint-config-standard": "^17.1.0",
 		"process": "^0.11.10",
 		"stylelint": "^16.25.0",
 		"stylelint-config-standard": "^39.0.1"

+ 1 - 1
frontend/resources/vue/stores/buttonResults.js

@@ -1,3 +1,3 @@
 import { reactive } from 'vue'
 
-export const buttonResults = reactive({})
+export const buttonResults = reactive({})

Některé soubory nejsou zobrazeny, neboť je v těchto rozdílových datech změněno mnoho souborů