Made lint and format use gitignore

This commit is contained in:
Kloon ImKloon 2023-08-15 12:10:55 +02:00
parent c6ff9e6298
commit 42824f6323
No known key found for this signature in database
GPG Key ID: CCF1C86A995C5B6A

View File

@ -8,9 +8,9 @@
"serve": "vite serve", "serve": "vite serve",
"build": "vite build", "build": "vite build",
"watch": "vite build --watch", "watch": "vite build --watch",
"lint": "eslint --ext .vue,.js src/", "lint": "eslint --ext .vue,.js --ignore-path .gitignore src/",
"lint:fix": "eslint --ext .vue,.js src/ --fix", "lint:fix": "eslint --ext .vue,.js --ignore-path .gitignore --fix src/",
"format": "prettier --write ." "format": "prettier --write --ignore-path .gitignore ."
}, },
"dependencies": { "dependencies": {
"ace-builds": "^1.23.4", "ace-builds": "^1.23.4",