File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed
Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 1- import js from "@eslint/js" ;
1+ import ts from "@eslint/js" ;
22import tsPlugin from "@typescript-eslint/eslint-plugin" ;
33import tsParser from "@typescript-eslint/parser" ;
44import globals from "globals" ;
55
66export 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] ;
Original file line number Diff line number Diff line change 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" : {
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments