Created
September 26, 2020 10:03
Contoh Composer dari tutorial youtube.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "test-plugin-wpcs", | |
"description": "Plugin with WPCS", | |
"authors": [ | |
{ | |
"name": "Author", | |
"email": "david@shellcreeper.com" | |
} | |
], | |
"require": { | |
}, | |
"require-dev": { | |
"wp-coding-standards/wpcs": "^2.3", | |
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.0" | |
}, | |
"scripts": { | |
"lint": "phpcs --standard=WordPress --basepath=. --warning-severity=8 --ignore=*/vendor/*,*/node_modules/* .", | |
"lint-fix": "phpcbf --standard=WordPress --ignore=*/vendor/*,*/node_modules/* ." | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment