Setup ESLint + Prettier, Re-setup Express

This commit is contained in:
wancat committed 2023-07-14 21:19:53 +08:00
1 parent f32fcd2508
commit ad4dc6d576
17 files changed
+1722 -613

No files matched your search

+14 -2
View File
@@ -12,6 +12,18 @@
],
"scripts": {
"app": "yarn workspace app dev",
"server": "yarn workspace server dev"
"server": "yarn workspace server dev",
"lint": "eslint --ext .js,.vue .",
"format": "prettier --write ."
},
"devDependencies": {
"@vue/eslint-config-prettier": "^7.1.0",
"eslint": "^8.44.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-vue": "^9.15.1",
"prettier": "^3.0.0"
}
}
}