-
Notifications
You must be signed in to change notification settings - Fork 0
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
ci: CI Testing #57
ci: CI Testing #57
Conversation
e1b3a65
to
7577bf5
Compare
@@ -1,5 +1,13 @@ | |||
{ | |||
"singleQuote": true, | |||
"trailingComma": "es5", | |||
"arrowParens": "avoid" | |||
"arrowParens": "avoid", | |||
"overrides": [ |
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.
Apparently newer versions of Prettier add trailing commas to jsonc files which is not always supported.
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.
I think this applies to .json
files as well, no? I know package.json
is not happy if you add a trailing comma
cd8ab97
to
1f1103c
Compare
ea2cb82
to
a509b03
Compare
End-to-end Test Summary
Detailed Test Results
Failed Test SummaryNo failed tests ✨Flaky Test SummaryNo flaky tests detected. ✨ |
Unit Test Summary
Detailed Test Results
Failed Test SummaryNo failed tests ✨Flaky Test SummaryNo flaky tests detected. ✨ |
… on jsonc files (#29)
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.
Just a couple things to double check
@@ -1,5 +1,13 @@ | |||
{ | |||
"singleQuote": true, | |||
"trailingComma": "es5", | |||
"arrowParens": "avoid" | |||
"arrowParens": "avoid", | |||
"overrides": [ |
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.
I think this applies to .json
files as well, no? I know package.json
is not happy if you add a trailing comma
CONTRIBUTING.md
Outdated
|
||
### Unit Testing | ||
|
||
TODO: |
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.
TODO - fill in or write a ticket
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.
Yes, the prettierrc thing does apply to json, but that already works as expected. The issue here is that prettier incorrectly adds trailing commas to jsonc. It doesn't do that for json
"test": "npm run ts:build && npm run ts:check && npm run test:lint && npm run test:unit", | ||
"test:ci": "npm run test", | ||
"test": "npm run test:unit", | ||
"test:ci": "npm run ts:build && npm run ts:check && npm run test:lint && npm run test:unit", |
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.
Should consider using concurrently
, though this works.
resolves #29