Skip to content

Commit

Permalink
#2 Update settings to enable VSCode debug
Browse files Browse the repository at this point in the history
  • Loading branch information
NiloCK committed Aug 2, 2018
1 parent 5c53b81 commit 3832652
Show file tree
Hide file tree
Showing 5 changed files with 58 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ yarn-error.log*

# Editor directories and files
.idea
.vscode
# .vscode - project launch / debug configs are relevant here. Also custom snippets, etc.
*.suo
*.ntvs*
*.njsproj
Expand Down
17 changes: 17 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "launch",
"name": "vuejs: chrome",
"url": "http://localhost:8080",
"webRoot": "${workspaceFolder}/src",
"breakOnLoad": true,
"sourceMapPathOverrides": {
"webpack:///src/*": "${webRoot}/*"
},
"sourceMaps": true
}
]
}
6 changes: 6 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"editor.formatOnSave": true,
"vetur.format.defaultFormatter.ts": "vscode-typescript",
"vetur.format.defaultFormatter.html": "none",
"typescript.tsdk": "node_modules\\typescript\\lib"
}
28 changes: 28 additions & 0 deletions .vscode/tslint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"defaultSeverity": "warning",
"extends": [
"tslint:recommended"
],
"rules": {
"quotemark": [
true,
"single"
],
"indent": [
true,
"spaces",
2
],
"interface-name": false,
"ordered-imports": false,
"object-literal-sort-keys": false,
"no-consecutive-blank-lines": true,
"trailing-comma": [
true,
{
"multiline": "never",
"singleline": "never"
}
]
}
}
6 changes: 6 additions & 0 deletions vue.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

module.exports = {
configureWebpack: {
devtool: 'source-map'
}
}

0 comments on commit 3832652

Please sign in to comment.