Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Contoh Composer dari tutorial youtube.
{
"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