Skip to content

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
@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.

3 participants