Skip to content
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

Merged
merged 5 commits into from
Mar 11, 2021
Merged

Conversation

wwwenjie
Copy link
Contributor

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.

@vercel
Copy link

vercel bot commented Mar 11, 2021

@wwwenjie is attempting to deploy a commit to a Personal Account owned by @qier222 on Vercel.

@qier222 first needs to authorize it.

@wwwenjie
Copy link
Contributor Author

base on #395

@wwwenjie wwwenjie mentioned this pull request Mar 11, 2021
@netlify
Copy link

netlify bot commented Mar 11, 2021

Deploy preview for yesplaymusic ready!

Built with commit f401e62

https://deploy-preview-397--yesplaymusic.netlify.app

@@ -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";
Copy link
Contributor Author

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.

Comment on lines +46 to +47
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-prettier": "^3.3.1",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move to dev dependencies

@wwwenjie wwwenjie changed the title Feature/prettier eslint (WIP) Feature/prettier eslint Mar 11, 2021
@wwwenjie wwwenjie changed the title (WIP) Feature/prettier eslint Feature/prettier eslint Mar 11, 2021
@qier222 qier222 merged commit 52d7a2a into qier222:master Mar 11, 2021
@wwwenjie wwwenjie deleted the feature/prettier-eslint branch March 11, 2021 07:53
llovvoll pushed a commit to llovvoll/YesPlayMusic that referenced this pull request Mar 11, 2021
* feat: add translations

* refactor: use trinocular operators instead if

* style: add prettier to eslint, fix lint errors

* chore: add .gitattr
threo9 added a commit to threo9/YesPlayMusic that referenced this pull request Mar 11, 2021
chore: Feature/prettier eslint (qier222#397)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants