Skip to content

Commit

Permalink
Code formatting (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
ashhitch authored Jun 15, 2020
1 parent 9885886 commit 476870f
Show file tree
Hide file tree
Showing 4 changed files with 1,210 additions and 377 deletions.
4 changes: 4 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"printWidth": 120,
"tabWidth": 2
}
32 changes: 32 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"name": "wp-graphql-yoast-seo",
"version": "4.2.0",
"description": "A WPGraphQL Extension that adds support for Yoast SEO",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"prettier": "prettier wp-graphql-yoast-seo.php"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ashhitch/wp-graphql-yoast-seo.git"
},
"author": "Ash Hitchcock",
"bugs": {
"url": "https://github.com/ashhitch/wp-graphql-yoast-seo/issues"
},
"homepage": "https://github.com/ashhitch/wp-graphql-yoast-seo#readme",
"devDependencies": {
"@prettier/plugin-php": "^0.14.2",
"husky": ">=4",
"lint-staged": ">=10",
"prettier": "^2.0.5"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,css,md,php}": "prettier wp-graphql-yoast-seo.php"
}
}
Loading

0 comments on commit 476870f

Please sign in to comment.