-
Notifications
You must be signed in to change notification settings - Fork 355
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
Infrastructure: Switch ESLint to use GitHub Actions #1501
Conversation
@mcking65 @spectranaut I opened this as a Draft PR, and I purposely turned on an ESLint rule that is going to fail, so you can see how the inline comments on the files tab works https://github.com/w3c/aria-practices/pull/1501/files#file-examples-accordion-js-accordion-js-L19 |
@nschonni commented:
Totally love this! I wish they would put a heading on each "Check Failure" though. If I can remember the string, I can search for it in the meantime. But, a heading sure would be nice. I wish this kind of integration were possible with AVA so we could have something like that for regression test failures. I think we should go forward with this. Thoughts @spectranaut? |
I'm not sure where the best place to provide feedback is for that feature. The "Unchanged files with check annotations" is still beta, but I think the regular inline annotations are general release now.
It's probably not too bad to add, as it the feature is really built on a JSON file with a regex for matching like https://github.com/xt0rted/stylelint-problem-matcher/blob/master/.github/problem-matcher.json. Any of those matchers can be registered manually, but the
Just let me know when you want to rebase out the the last "wip" commit that is showing some failures on purpose, and I'll turn off the draft flag. |
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 great @nschonni ! And what a cool idea to do this for the AVA tests. I'm going to make a backlog issue for that.
run: npm ci | ||
|
||
- name: ESLint | ||
run: npm run lint:es |
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.
wow this file is so easy to understand.
4db030f
to
a4719ce
Compare
OK, I've removed the intentionally failing ESLint config, and swapped this from the draft state. I also added a comment in the config on why |
3d824ed
to
0fcb360
Compare
0fcb360
to
d055e70
Compare
@mcking65 rebased the ESLint PR since there were conflicts with the |
Allows for inline comments on PRs for issues
d055e70
to
83d45da
Compare
@mcking65 I think this one makes sense to land next of the batch of CI changes |
No description provided.