Project-wide linting and formatting (#150)

* chore: configure project-wide linting and formatting

* chore: run lint autofix and formatter
This commit is contained in:
Alexander Roidl
2025-07-26 20:42:58 +02:00
committed by GitHub
parent 206f768b41
commit 2b36f868e7
52 changed files with 435 additions and 382 deletions

View File

@@ -9,10 +9,10 @@
"start:frontend": "vite -m production",
"start:frontend:dev": "vite",
"build:frontend": "vite build",
"format": "prettier --write lib/**/*.js ui/src/**/*.jsx test/**/*.js *.js",
"format:check": "prettier --check lib/**/*.js ui/src/**/*.jsx test/**/*.js *.js",
"format": "prettier --write .",
"format:check": "prettier --check .",
"test": "mocha --loader=esmock --timeout 3000000 test/**/*.test.js",
"lint": "eslint index.js lib/**/*.js test/**/*.js ui/src/**/*.jsx",
"lint": "eslint .",
"lint:fix": "yarn lint --fix"
},
"type": "module",