Skip to content

Commit

Permalink
add tsconfig.json to .eslintrc.json
Browse files Browse the repository at this point in the history
  • Loading branch information
cyri113 committed May 19, 2023
1 parent 5650bc9 commit 491be39
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"overrides": [],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
"sourceType": "module",
"project": "./tsconfig.json"
},
"rules": {}
}
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@ import app from "./app";
import { env } from "./config";

app.listen(env.PORT, () => {
// eslint-disable-next-line @typescript-eslint/restrict-template-expressions
console.log(`⚡️[server]: Server is running at http://localhost:${env.PORT}`);
});

0 comments on commit 491be39

Please sign in to comment.