-
Notifications
You must be signed in to change notification settings - Fork 1
build: use prettier to format the code #12
Conversation
virkt25
left a comment
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.
Changes look good but build is failing (I think it has something to do with package.json and tslint.json
a15b46b to
b22b902
Compare
|
Apparently |
|
cis-jenkins build is reporting formatting errors in |
Add a build step to `npm run test` to verify that all code has been formatted by prettier. Developers can run `npm run lint:fix` to get the formatting fixed for them.
|
@virkt25 PTAL again. |
| dist | ||
| dist6 | ||
| api-docs | ||
| *.json |
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.
This line is for IDE extensions - it's telling them to don't apply prettier formatting when saving JSON files. It works for me in VS Code.
Add a build step to
npm run testto verify that all code has been formatted by prettier.Developers can run
npm run lint:fixto get the formatting fixed for them.This is a follow-up for loopbackio/loopback-next#601.