Adding CI files

This commit is contained in:
Noah Santschi-Cooney 2018-05-17 19:42:52 +01:00
parent a59192fa0e
commit 5422f920bb
No known key found for this signature in database
GPG key ID: 3B22282472C8AE48
3 changed files with 18 additions and 6 deletions

13
.drone.yml Normal file
View file

@ -0,0 +1,13 @@
pipeline:
lint:
image: node:${NODE_VERSION}
commands:
- npm i
- npm run lint
matrix:
NODE_VERSION:
- "10-alpine"
- "9-alpine"
- "8.11-alpine"
- "alpine"

View file

@ -50,7 +50,8 @@
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "npm run compile && node ./node_modules/vscode/bin/test"
"test": "npm run compile && node ./node_modules/vscode/bin/test",
"lint": "tslint -c tslint.json 'src/**/*.ts'"
},
"devDependencies": {
"@types/mocha": "^2.2.42",

View file

@ -8,11 +8,9 @@
],
"sourceMap": true,
"rootDir": "src",
/* Strict Type-Checking Option */
"strict": true, /* enable all strict type-checking options */
/* Additional Checks */
"noUnusedLocals": true, /* Report errors on unused locals. */
"noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
"strict": true,
"noUnusedLocals": true,
"noImplicitReturns": true,
},
"exclude": [
"node_modules",