-
Notifications
You must be signed in to change notification settings - Fork 3
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
Setup eslint plugin scaffold and basic CI actions #1
Conversation
@haifeng-li-at-salesforce There are conflicts in this branch that you need to resolve. |
I see both I've come to be of a mind to only use Yarn, pnpm, etc., if there's a specific set of features within those package managers that we're looking to adopt. Otherwise, vanilla NPM is the least effort to support. |
Also, with regards to using NPM: |
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 those are my main comments for the initial review!
Can you check why prettier is failing on CI? |
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.
LGTM!
Komachi plugin has the same pattern. Should we remove it too? |
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.
loving it :)
@khawkins |
Reading about all of that configuration more, I guess it doesn't matter too much: the So I guess the configuration is meaningless in our case. 🙂 I don't feel strongly about if/when we update that in the |
I guess it technically applies to the linting we apply to our project—not the test code. Sorry, lots of moving parts! So if we had code within our plugin that used ES6 constructs—which we don't seem to—then we'd want those parsing options, because otherwise ESLint analysis of our codebase would throw errors. Anyway, since we don't have that problem, let's just leave the configuration out. And if and when we choose to update our codebase to leverage ES6 or TypeScript or whatever, we can revisit. |
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 is g2g for me. 👍
lwc-graph-analyzer
and 'eslint-plugin-lwc`enforce-fool bar
from ESlint.org to verify the coding/test workflow working