Skip to content

Add and resolve errors from linting actions #12

Closed

Description

@jeffpaul

We'll want to add PHPCS and ESLint actions and work to resolve errors identified from them:

Activity

  1. added
    type:enhancement
    on May 29, 2024
  2. added this to the 1.6.0 milestone on May 29, 2024
  3. dkotter commented on May 30, 2024

    @dkotter
    Contributor

    I can help get these Actions in place but as far as resolving issues, I'd suggest tackling this in two different phases:

    1. Open a PR to fix all warnings, which are typically easier things to fix, like spacing
    2. Open a PR to fix all errors, which generally need a little more effort/review

    ^ These apply more to PHPCS than eslint, though we can probably handle both in similar fashion.

    I see they're bundling some jQuery scripts so we'll want to exclude those from eslint.

  4. dkotter commented on May 30, 2024

    @dkotter
    Contributor

    And I guess thinking about it more, any assets (like JS or CSS files) that are things bundled in WordPress Core (for instance, seeing a bunch of jQuery UI things) we should look to see if we can remove those from our codebase and just rely on loading those from Core

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

type:enhancement

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions