Skip to content

Commit d819036

Browse files
Added VSCode config files to source control
1 parent c26f6d9 commit d819036

File tree

3 files changed

+55
-1
lines changed

3 files changed

+55
-1
lines changed

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ nbproject
1313
# IDEs & Text Editors
1414
.idea
1515
.sublime-*
16-
.vscode
16+
.vscode/settings.json
1717
.netbeans
1818
nbproject
1919

.vscode/launch.json

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"name": "Run tests",
6+
"type": "node",
7+
"request": "launch",
8+
"program": "${workspaceRoot}/node_modules/.bin/_mocha",
9+
"stopOnEntry": false,
10+
"args": ["--bail", "--recursive", "tests/fixtures", "tests/specs"],
11+
"cwd": "${workspaceRoot}",
12+
"preLaunchTask": null,
13+
"runtimeExecutable": null,
14+
"runtimeArgs": [
15+
"--nolazy"
16+
],
17+
"env": {
18+
"NODE_ENV": "development"
19+
},
20+
"externalConsole": false,
21+
"sourceMaps": false,
22+
"outDir": null
23+
}
24+
]
25+
}

.vscode/tasks.json

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
// Available variables which can be used inside of strings.
2+
// ${workspaceRoot}: the root folder of the team
3+
// ${file}: the current opened file
4+
// ${fileBasename}: the current opened file's basename
5+
// ${fileDirname}: the current opened file's dirname
6+
// ${fileExtname}: the current opened file's extension
7+
// ${cwd}: the current working directory of the spawned process
8+
9+
{
10+
"version": "0.1.0",
11+
"command": "npm",
12+
"isShellCommand": true,
13+
"suppressTaskName": true,
14+
"tasks": [
15+
{
16+
"taskName": "lint",
17+
"args": ["run", "lint"],
18+
"showOutput": "always",
19+
"problemMatcher": "$eslint-stylish",
20+
"isBuildCommand": true
21+
},
22+
{
23+
"taskName": "test",
24+
"args": ["run", "test"],
25+
"showOutput": "always",
26+
"isTestCommand": true
27+
}
28+
]
29+
}

0 commit comments

Comments
 (0)