summaryrefslogtreecommitdiff
path: root/.vscode
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2018-01-03 14:42:06 +0100
committerFlorian Dold <florian.dold@gmail.com>2018-01-03 14:42:06 +0100
commitfd2cd9c383b07cd681c18137396deae025d98047 (patch)
tree05de454bb6fc0fcb95b66b6ef87bcd555e81b58c /.vscode
parenteb689d60aca8fc80e27ea60c4e4d7e848b01bea9 (diff)
downloadwallet-core-fd2cd9c383b07cd681c18137396deae025d98047.tar.gz
wallet-core-fd2cd9c383b07cd681c18137396deae025d98047.tar.bz2
wallet-core-fd2cd9c383b07cd681c18137396deae025d98047.zip
fix lint issues and separate message types into multiple files
Diffstat (limited to '.vscode')
-rw-r--r--.vscode/settings.json3
-rw-r--r--.vscode/tasks.json44
2 files changed, 46 insertions, 1 deletions
diff --git a/.vscode/settings.json b/.vscode/settings.json
index e17e44c92..565900b97 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -1,7 +1,7 @@
// Place your settings in this file to overwrite default and user settings.
{
// Use latest language servicesu
- "typescript.tsdk": "node_modules/typescript/lib",
+ "typescript.tsdk": "./node_modules/typescript/lib",
// Defines space handling after a comma delimiter
"typescript.format.insertSpaceAfterCommaDelimiter": true,
// Defines space handling after a semicolon in a for statement
@@ -34,5 +34,6 @@
},
"**/*.js.map": true
},
+ "tslint.enable": true,
"editor.wrappingIndent": "same"
} \ No newline at end of file
diff --git a/.vscode/tasks.json b/.vscode/tasks.json
new file mode 100644
index 000000000..a14159944
--- /dev/null
+++ b/.vscode/tasks.json
@@ -0,0 +1,44 @@
+{
+ // See https://go.microsoft.com/fwlink/?LinkId=733558
+ // for the documentation about the tasks.json format
+ "version": "2.0.0",
+ "tasks": [
+ {
+ "type": "typescript",
+ "tsconfig": "tsconfig.json",
+ "option": "watch",
+ "problemMatcher": [
+ "$tsc-watch"
+ ],
+ "group": "build",
+ "isBackground": true,
+ "promptOnClose": false
+ },
+ {
+ "type": "typescript",
+ "tsconfig": "tsconfig.json",
+ "problemMatcher": [
+ "$tsc"
+ ],
+ "group": "build"
+ },
+ {
+ "label": "tslint",
+ "type": "shell",
+ "command": "make lint",
+ "problemMatcher": {
+ "owner": "tslint",
+ "applyTo": "allDocuments",
+ "fileLocation": "absolute",
+ "severity": "warning",
+ "pattern": "$tslint5"
+ },
+ "group": "build"
+ },
+ {
+ "label": "My Task",
+ "type": "shell",
+ "command": "echo Hello"
+ }
+ ]
+} \ No newline at end of file