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

Add the eslint GitHub Action Workflow #20

Merged
merged 2 commits into from
May 31, 2024
Merged

Conversation

dkotter
Copy link
Collaborator

@dkotter dkotter commented May 31, 2024

Description of the Change

This PR adds in a new GitHub Action Workflow to run eslint. We install and use 10up-toolkit to handle this.

This Workflow is set to run anytime code is pushed to develop or main (and there are JS files) or when a PR is opened against develop (and there are JS files).

Solves one of the issues reported in #12 but there's remaining items, so this PR won't close out that Issue

How to test the Change

Ensure the eslint Workflow ran when JS files changed: https://github.com/mailchimp/wordpress/actions/runs/9312339155/job/25632980222?pr=20

Changelog Entry

Added - eslint GitHub Action Workflow

…use it to run eslint, adding proper configurations. Also set things up to run stylelint, though we don't use that currently in an Action Workflow
@dkotter dkotter added this to the 1.6.0 milestone May 31, 2024
@dkotter dkotter self-assigned this May 31, 2024
@dkotter dkotter force-pushed the feature/12-eslint-workflow branch from de60e53 to f3b80c3 Compare May 31, 2024 03:11
@dkotter dkotter requested a review from jeffpaul May 31, 2024 03:12
@jeffpaul jeffpaul merged commit 25ebed4 into develop May 31, 2024
5 checks passed
@vikrampm1 vikrampm1 mentioned this pull request Jun 26, 2024
23 tasks
@jeffpaul jeffpaul deleted the feature/12-eslint-workflow branch July 1, 2024 18:59
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