build(aio): add the vs code settings, setup a tslint language service

This commit is contained in:
Alexander Zhukov 2017-04-29 19:13:51 +03:00
parent 9ebf30ac68
commit 8516b88c02
5 changed files with 33 additions and 0 deletions

21
.vscode/launch.json vendored Normal file
View file

@ -0,0 +1,21 @@
{
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "launch",
"name": "Launch Chrome against localhost",
"url": "http://localhost:4200",
"sourceMaps": true,
"webRoot": "${workspaceRoot}"
},
{
"type": "chrome",
"request": "attach",
"name": "Attach to Chrome",
"port": 9222,
"sourceMaps": true,
"webRoot": "${workspaceRoot}"
}
]
}

4
.vscode/settings.json vendored Normal file
View file

@ -0,0 +1,4 @@
{
"typescript.tsdk": "./node_modules/typescript/lib",
"tslint.enable": false
}

View file

@ -71,6 +71,7 @@
"ts-node": "2.0.0",
"tslint": "4.5.1",
"tslint-eslint-rules": "3.4.0",
"tslint-language-service": "0.9.2",
"typescript": "2.2.2"
}
}

View file

@ -15,6 +15,9 @@
"lib": [
"es2016",
"dom"
],
"plugins": [
{ "name": "tslint-language-service"}
]
}
}

View file

@ -5493,6 +5493,10 @@ tslint-eslint-rules@3.4.0:
dependencies:
doctrine "^0.7.2"
tslint-language-service@0.9.2:
version "0.9.2"
resolved "https://registry.yarnpkg.com/tslint-language-service/-/tslint-language-service-0.9.2.tgz#76e0ed3e92677a5bd5bc91e4a1335d9b284469f3"
tslint@4.5.1:
version "4.5.1"
resolved "https://registry.yarnpkg.com/tslint/-/tslint-4.5.1.tgz#05356871bef23a434906734006fc188336ba824b"