itinerisltd / preflight-extra
Extra preflight-command checkers for professional developers.
Installs: 158
Dependents: 1
Suggesters: 1
Security: 0
Stars: 2
Watchers: 5
Forks: 0
Open Issues: 0
Type:wp-cli-package
Requires
- php: ^7.2
- itinerisltd/preflight-command: ^0.6.0
- wp-cli/extension-command: ^2.0
- wp-cli/package-command: ^2.0
- wp-cli/wp-cli: ^2.0
Requires (Dev)
- 10up/wp_mock: ^0.3.0
- automattic/vipwpcs: dev-master
- codeception/base: ^2.4
- mockery/mockery: ^1.1
- roave/security-advisories: dev-master
- wp-coding-standards/wpcs: ^1.0
README
Extra preflight-command checkers for professional developers.
TODO: Write the readme!
Installation
$ wp package install itinerisltd/preflight-extra:@stable
preflight.toml
# Note: extra-expected-status-codes is experimental. [extra-expected-status-codes] enabled = true # Default is enabled. [[extra-expected-status-codes.groups]] code = 404 paths = [ '/not-found', ] [[extra-expected-status-codes.groups]] code = 200 paths = [ '/', '/hello-world', ] [extra-production-home-url] url = 'https://example.com' [extra-production-site-url] url = 'https://example.com/wp' # Maybe same as home URL [extra-required-constants] includes = [ 'WP_ENV', 'MY_CONSTANT_A', 'MY_CONSTANT_B', ] [extra-required-packages] includes = [ 'aaemnnosttv/wp-cli-login-command', 'itinerisltd/preflight-yoast-seo', ] [extra-required-plugins] includes = [ 'sunny', 'wp-cloudflare-guard', ]
For Itineris Team
$ composer test
$ composer check-style
Pull requests without tests will not be accepted!