diff --git a/.eslintignore b/.eslintignore new file mode 100644 index 0000000..4c43fe6 --- /dev/null +++ b/.eslintignore @@ -0,0 +1 @@ +*.js \ No newline at end of file diff --git a/package.json b/package.json index a5b9397..940631d 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,8 @@ "scripts": { "build": "tsc", "format": "prettier --write .", - "prepare": "husky install" + "prepare": "husky install", + "lint": "eslint ." }, "devDependencies": { "@types/node": "^20.2.3", diff --git a/src/index.ts b/src/index.ts index 9e1df0d..656c355 100644 --- a/src/index.ts +++ b/src/index.ts @@ -24,12 +24,4 @@ // spawnSample('powershell',['node', '-v']); // } // start(); -type Haha = true; console.log("Hello world!"); -export const hello = "hi world"; - -async function test() { - await Promise.resolve("hi"); -} - -var h = true;