mirror of
https://github.com/denoland/deno.git
synced 2025-02-01 12:16:11 -05:00
Try to fix tslint on travis
This commit is contained in:
parent
80685a53eb
commit
6097f87154
3 changed files with 2 additions and 4 deletions
|
@ -1,4 +1,3 @@
|
||||||
/// <reference path="./text-encoding.d.ts" />
|
|
||||||
import * as timer from "./timers";
|
import * as timer from "./timers";
|
||||||
|
|
||||||
// If you use the eval function indirectly, by invoking it via a reference
|
// If you use the eval function indirectly, by invoking it via a reference
|
||||||
|
|
2
main.ts
2
main.ts
|
@ -36,6 +36,6 @@ dispatch.sub("start", (payload: Uint8Array) => {
|
||||||
runtime.setup(mainJs, mainMap);
|
runtime.setup(mainJs, mainMap);
|
||||||
|
|
||||||
const inputFn = argv[0];
|
const inputFn = argv[0];
|
||||||
const mod = runtime.resolveModule(inputFn, cwd + "/");
|
const mod = runtime.resolveModule(inputFn, `${cwd}/`);
|
||||||
mod.compileAndRun();
|
mod.compileAndRun();
|
||||||
});
|
});
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "deno",
|
"name": "deno",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"lint": "tslint -p tsconfig.json",
|
"lint": "tslint -p tsconfig.json -c tslint.json",
|
||||||
"lint-version": "tslint --version",
|
|
||||||
"fmt": "prettier --write *.ts* *.js *.json"
|
"fmt": "prettier --write *.ts* *.js *.json"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|
Loading…
Add table
Reference in a new issue