Skip to content

Commit

Permalink
Add shared VSCode config.
Browse files Browse the repository at this point in the history
  • Loading branch information
tofumatt committed Mar 8, 2021
1 parent e3bf45b commit 4c06c89
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ tmtags
*.un~
Session.vim
*.swp
.vscode
.vscode/launch.json

# Mac OSX
.DS_Store
Expand Down
25 changes: 25 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"search.exclude": {
".storybook/data": true,
"assets/vendor": true,
"dist/": true
},
"files.exclude": {
"dist/": true,
"node_modules/": true
},
"editor.formatOnSave": true,
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis": true,
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets": true,
"javascript.format.insertSpaceBeforeFunctionParenthesis": true,
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets": true,
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis": true,
"jest.autoEnable": false,
"jest.pathToConfig": "./tests/js/jest.config.js",
"editor.codeActionsOnSave": {
"source.fixAll": true,
"source.fixAll.eslint": true
},
"phpcs.enable": true,
"phpcs.executablePath": "vendor/bin/phpcs"
}

0 comments on commit 4c06c89

Please sign in to comment.