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

Replace eslint-plugin-prettier with prettier --check #68

Merged
merged 2 commits into from
Mar 4, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": ["eslint-config-pretty-standard"]
gustavnikolaj marked this conversation as resolved.
Show resolved Hide resolved
}
15 changes: 0 additions & 15 deletions .eslintrc.js

This file was deleted.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
"coveralls": "^3.0.1",
"eslint": "^5.0.0",
"eslint-config-pretty-standard": "^2.0.0",
"eslint-plugin-prettier": "^3.0.0",
"express": "^4.16.3",
"gifsicle-stream": "^0.3.1",
"istanbul": "^0.4.5",
Expand All @@ -52,7 +51,7 @@
"unexpected-sinon": "^10.10.1"
},
"scripts": {
"lint": "eslint .",
"lint": "eslint . && prettier --check '**/*.js'",
"test": "mocha && npm run lint",
"travis": "npm test && npm run coverage && (<coverage/lcov.info coveralls || true)",
"coverage": "NODE_ENV=development istanbul cover _mocha -- --reporter dot && echo google-chrome coverage/lcov-report/index.html"
Expand Down