Skip to content
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

test: workflow and example #4

Merged
merged 2 commits into from
Mar 15, 2023
Merged

test: workflow and example #4

merged 2 commits into from
Mar 15, 2023

Conversation

tpluscode
Copy link
Contributor

In this PR I added the simplest possible e2e test workflow by creating some files with imports and loading the plugin itself to run eslint

with:
node-version: ${{ matrix.node }}
- run: npm i
- run: npx eslint . --report-unused-disable-directives
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding the flag ensures that eslint-disable-next-line are reported as false positive failures if the following line does not in fact trigger the rule

@tpluscode
Copy link
Contributor Author

ping @jordansexton

@jordaaash jordaaash merged commit 80478e0 into solana-labs:master Mar 15, 2023
@jordaaash
Copy link
Collaborator

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants