Skip to content

Commit f787671

Browse files
committed
done with eslint changes
1 parent 703bc6c commit f787671

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
import js from "@eslint/js";
1+
import ts from "@eslint/js";
22
import tsPlugin from "@typescript-eslint/eslint-plugin";
33
import tsParser from "@typescript-eslint/parser";
44
import globals from "globals";
55

66
export default [
7-
js.configs.recommended,
7+
ts.configs.recommended,
88
{
99
files: ["**/*.ts", "**/*.tsx"],
1010
languageOptions: {
@@ -54,7 +54,7 @@ export default [
5454
"prisma/migrations/",
5555
"src/generated/",
5656
"coverage/",
57-
"*.config.js",
57+
"*.config.ts",
5858
],
5959
},
6060
];

backend/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "@chess-app/backend",
33
"version": "1.0.0",
4+
"type": "module",
45
"description": "Backend service for chess app",
56
"main": "dist/index.js",
67
"scripts": {

backend/tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"compilerOptions": {
33
"target": "es2020",
4-
"module": "node16",
4+
"module": "esnext",
55
"rootDir": "./src",
6-
"moduleResolution": "node16",
6+
"moduleResolution": "bundler",
77

88
"outDir": "./dist",
99

0 commit comments

Comments
 (0)