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

fix: confine linting to directory where eslint config file is #333

Merged
merged 1 commit into from
Jan 17, 2025

Conversation

CallumNZ
Copy link
Contributor

This is ensures only JavaScript files in the directory that the eslint config file is are linted.

Tested in Tilde:

Current failing: https://github.com/GeoNet/tilde/actions/runs/12818154802/job/35742988801

Using this branch, passing:
https://github.com/GeoNet/tilde/actions/runs/12819085053/job/35745995955

Using this branch, failing because of linting error:
https://github.com/GeoNet/tilde/actions/runs/12819161652/job/35746254649

This is ensures only JavaScript files in the directory that the eslint config file is are linted
@CallumNZ CallumNZ requested a review from wilsonjord January 16, 2025 23:05
@CallumNZ CallumNZ merged commit deb3bb1 into main Jan 17, 2025
16 checks passed
@CallumNZ CallumNZ deleted the eslintPathFix branch January 17, 2025 01:25
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.

2 participants