-
Notifications
You must be signed in to change notification settings - Fork 8
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
ref: Split eslint and prettier #335
Conversation
I need to update the documentation before I merge this in! |
Visit the preview URL for this PR (updated for commit 5238ddf): https://ccv-honeycomb--pr335-ref-eslint-prettier-owld1nwa.web.app (expires Wed, 29 Nov 2023 15:49:05 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 4ace1dcea913a952d2a1af84b94a4421bf36e610 |
Coincides with this PR in the documentation |
/.pnp | ||
.pnp.js |
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.
you're using modern yarn?
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.
No, just npm
. But it's been the gitignore since I started on the project 🤷♂️
@@ -20,8 +20,8 @@ let USE_EEG = false; | |||
let VIDEO = false; | |||
|
|||
// Override product ID if environment variable set | |||
const activeProductId = process.env.EVENT_MARKER_PRODUCT_ID || productId; | |||
const activeComName = process.env.EVENT_MARKER_COM_NAME || comName; | |||
const activeProductId = process.env.EVENT_MARKER_PRODUCT_ID ?? productId; |
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.
Was this a linting fix, or was it manually changed? I don't see a corresponding rule, but it might be a good idea to rule this in the linter if possible.
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.
It was a manual change. It's something I've been eyeing and can now change since I've updated the ecma version
Cleans up our eslint file, including removing prettier from it. The
format
script will be updated to run prettier directly (#336)jest
to env??
operator instead of||
where it's more appropriate (can no do because of the bump to ecma)