Skip to content

Commit

Permalink
added .vscode
Browse files Browse the repository at this point in the history
  • Loading branch information
Pittini committed Mar 18, 2020
1 parent 71414f6 commit 828b6e3
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Launch Program",
"skipFiles": [
"<node_internals>/**"
],
"program": "${workspaceRoot}/V1-0-2-HeatingControlMapper.js"
}
]
}
38 changes: 38 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"compileOnSave": true,
"compilerOptions": {
// do not compile anything, this file is just to configure type checking
"noEmit": true,

// check JS files
"allowJs": true,
"checkJs": true,

"module": "commonjs",
"moduleResolution": "node",
// this is necessary for the automatic typing of the adapter config
"resolveJsonModule": true,

// Set this to false if you want to disable the very strict rules (not recommended)
"strict": true,
// Or enable some of those features for more fine-grained control
// "strictNullChecks": true,
// "strictPropertyInitialization": true,
// "strictBindCallApply": true,
"noImplicitAny": false,
"noUnusedLocals": true,
"noUnusedParameters": true,

// Consider targetting es2017 or higher if you require the new NodeJS 8+ features
"target": "es2017",

},
"include": [
"**/*.js",
"**/*.d.ts"
],
"exclude": [
"node_modules/**",
"admin/**"
]
}

0 comments on commit 828b6e3

Please sign in to comment.