mirror of
https://github.com/Strum355/mcshader-lsp.git
synced 2025-07-16 07:45:27 +00:00
Adding CI files
This commit is contained in:
parent
a59192fa0e
commit
5422f920bb
3 changed files with 18 additions and 6 deletions
13
.drone.yml
Normal file
13
.drone.yml
Normal 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"
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue