Skip to content

Commit

Permalink
Document new "lint" composer script
Browse files Browse the repository at this point in the history
  • Loading branch information
kadamwhite committed Aug 28, 2019
1 parent 9b7763f commit 1570eef
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -38,6 +38,16 @@ function enqueue_block_editor_assets() {
}
```

## Local Development

Before submitting a pull request, ensure that your PHP code passes our [coding standards](https://github.com/humanmade/coding-standards) by running [PHPCS](https://pear.php.net/package/PHP_CodeSniffer):

```sh
composer run-script lint
```

If the above command does not work, ensure you have [Composer](https://getcomposer.org/) installed on your machine & run `composer install` from the project root.

## License

This plugin is free software. You can redistribute it and/or modify it under the terms of the [GNU General Public License](LICENSE) as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

0 comments on commit 1570eef

Please sign in to comment.