-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/prettier eslint #397
Conversation
@wwwenjie is attempting to deploy a commit to a Personal Account owned by @qier222 on Vercel. @qier222 first needs to authorize it. |
base on #395 |
Deploy preview for yesplaymusic ready! Built with commit f401e62 |
@@ -12,7 +12,6 @@ import installExtension, { VUEJS_DEVTOOLS } from "electron-devtools-installer"; | |||
import express from "express"; | |||
import expressProxy from "express-http-proxy"; | |||
import Store from "electron-store"; | |||
import path from "path"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lint said path is never used, not sure if background.js uses it.
"eslint-config-prettier": "^8.1.0", | ||
"eslint-plugin-prettier": "^3.3.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
move to dev dependencies
* feat: add translations * refactor: use trinocular operators instead if * style: add prettier to eslint, fix lint errors * chore: add .gitattr
chore: Feature/prettier eslint (qier222#397)
I think its better to add prettier to eslint and set prettier/prettier rule to error (this PR do), so we can get prettier error during code.
I notice that this project add husky to format style, but sadly husky v4 is not work with sourcetree and which causes the error style commit to this PR.