10up / wpcs-action

GitHub Action to help you lint your PHP without additional dependencies within your codebase
MIT License
54 stars 13 forks source link

Add 10up-Default ruleset #21

Closed cadic closed 1 year ago

cadic commented 1 year ago

Description of the Change

This PR adds support for 10up-Default ruleset.

Usage:

    steps:
      - uses: actions/checkout@v2
      - name: WPCS check
        uses: 10up/wpcs-action@stable
        with:
          use_local_config: true
          standard: '10up-Default'

Note: if local config include 10up-Default rule, we should specify the standard argument in the step configuration. It is required to correctly set up standards while performing the step.

Closes #9

How to test the Change

Tested on Simple Podcasting: https://github.com/10up/simple-podcasting/pull/196/files

Changelog Entry

Added - Support of 10up-Default ruleset

Checklist: