Add eslint plugin, add script in package.json

This commit is contained in:
Tomasz Rymkiewicz 2022-01-01 15:42:20 +01:00 committed by FireMasterK
parent 5977e2c51a
commit 3349cd69c9
No known key found for this signature in database
GPG key ID: 49451E4482CC5BCD
5 changed files with 28 additions and 9 deletions

View file

@ -5,7 +5,8 @@
"scripts": {
"serve": "vite",
"build": "vite build",
"preview": "vite preview"
"preview": "vite preview",
"lint": "eslint --fix --color --ignore-path .gitignore ."
},
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^1.2.36",
@ -31,10 +32,12 @@
"@vue/compiler-sfc": "3.2.26",
"babel-eslint": "^10.1.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-vue": "^7.20.0",
"prettier": "^2.5.1",
"vite": "^2.7.9",
"vite-plugin-eslint": "^1.3.0",
"vite-plugin-pwa": "^0.11.12",
"vite-plugin-windicss": "^1.6.1"
},