Chapter 11: initial samples
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"editor.rulers": [80],
|
||||
"editor.tabCompletion": "on",
|
||||
"editor.tabSize": 2,
|
||||
"editor.trimAutoWhitespace": true,
|
||||
"editor.formatOnSave": true,
|
||||
"editor.codeActionsOnSave": {
|
||||
"source.organizeImports": true,
|
||||
"source.fixAll.eslint": true
|
||||
},
|
||||
|
||||
"files.exclude": {
|
||||
"**/.DS_Store": true,
|
||||
"**/.git": true,
|
||||
"**/.hg": true,
|
||||
"**/.svn": true,
|
||||
"**/CVS": true,
|
||||
"dist": true,
|
||||
},
|
||||
"files.insertFinalNewline": true,
|
||||
"files.trimTrailingWhitespace": true,
|
||||
|
||||
"typescript.tsdk": "./node_modules/typescript/lib",
|
||||
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": false,
|
||||
"typescript.preferences.quoteStyle": "single",
|
||||
"eslint.run": "onSave",
|
||||
"eslint.nodePath": "./node_modules",
|
||||
"eslint.validate": [
|
||||
"javascript",
|
||||
"typescript"
|
||||
]
|
||||
}
|
||||
+29
@@ -0,0 +1,29 @@
|
||||
{
|
||||
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
||||
// for the documentation about the tasks.json format
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "Watch and Compile Project",
|
||||
"type": "shell",
|
||||
"command": "npm",
|
||||
"args": ["--silent", "run", "build:watch"],
|
||||
"group": {
|
||||
"kind": "build",
|
||||
"isDefault": true
|
||||
},
|
||||
"problemMatcher": "$tsc-watch"
|
||||
},
|
||||
{
|
||||
"label": "Build, Test and Lint",
|
||||
"type": "shell",
|
||||
"command": "npm",
|
||||
"args": ["--silent", "run", "test:dev"],
|
||||
"group": {
|
||||
"kind": "test",
|
||||
"isDefault": true
|
||||
},
|
||||
"problemMatcher": ["$tsc", "$eslint-compact", "$eslint-stylish"]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user