Skip to content

Commit

Permalink
Update vscode settings
Browse files Browse the repository at this point in the history
  • Loading branch information
khleomix committed May 3, 2024
1 parent 89049ec commit f49ad55
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 38 deletions.
9 changes: 6 additions & 3 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
{
"recommendations": [
"shevaua.phpcs",
"persoderlind.vscode-phpcbf",
"stylelint.vscode-stylelint",
"dbaeumer.vscode-eslint",
"editorconfig.editorconfig",
"esbenp.prettier-vscode",
"stylelint.vscode-stylelint",
"valeryanm.vscode-phpsab"
"matthiashunt.wordpress-syntax-highlighter",
"johnbillion.vscode-wordpress-hooks",
"editorconfig.editorconfig"
]
}
44 changes: 9 additions & 35 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,44 +1,18 @@
{
"phpsab.executablePathCS": "./vendor/bin/phpcs",
"phpsab.executablePathCBF": "./vendor/bin/phpcbf",
"editor.formatOnSave": true,
"scss.validate": false,
"[javascriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"intelephense.format.enable": false,
"intelephense.stubs": ["acf", "wordpress", "standard", "Core", "pcre"],
"phpcs.enable": true,
"phpcs.executablePath": "/vendor/bin/phpcs",
"phpcs.standard": "WordPress",
"phpcbf.enable": true,
"phpcbf.documentFormattingProvider": true,
"phpcbf.onsave": true,
"phpcbf.executablePath": "/vendor/bin/phpcbf",
"phpcbf.standard": "WordPress",

"workbench.colorCustomizations": {
"activityBar.background": "#3F4040",
"activityBarBadge.background": "#f3713c",
"activityBarBadge.foreground": "#fff",
"statusBar.background": "#f3713c",
"statusBar.foreground": "#fff"
},

"markdownlint.config": {
"MD033": {
"allowed_elements": [
"nobr",
"hr",
"sup",
"details",
"summary",
"h2",
"h3",
"p",
"a",
"b",
"ol",
"ul",
"li",
"br",
"i",
"img",
"code"
]
}
},
"svn.ignoreMissingSvnWarning": true
}
}

0 comments on commit f49ad55

Please sign in to comment.