diff --git a/packages/server/.eslintrc.cjs b/packages/server/.eslintrc.cjs new file mode 100644 index 0000000..dffa289 --- /dev/null +++ b/packages/server/.eslintrc.cjs @@ -0,0 +1,13 @@ +const { join } = require("node:path"); + +module.exports = { + env: { + browser: true + }, + parserOptions: { + project: [ + join(__dirname, "app.jsconfig.json"), + join(__dirname, "eslint.jsconfig.json") + ] + } +}; diff --git a/packages/server/app.jsconfig.json b/packages/server/app.jsconfig.json new file mode 100644 index 0000000..07b883f --- /dev/null +++ b/packages/server/app.jsconfig.json @@ -0,0 +1,11 @@ +{ + "extends": "./tsconfig.base.json", + "compilerOptions": { + "allowJs": true, + "checkJs": true, + "composite": true + }, + "include": [ + "./src/**/*" + ] +} diff --git a/packages/server/eslint.jsconfig.json b/packages/server/eslint.jsconfig.json new file mode 100644 index 0000000..f7b8742 --- /dev/null +++ b/packages/server/eslint.jsconfig.json @@ -0,0 +1,6 @@ +{ + "extends": "./tsconfig.base.json", + "include": [ + "./.eslintrc.cjs" + ] +} diff --git a/packages/server/src/main.js b/packages/server/src/main.js new file mode 100644 index 0000000..e69de29 diff --git a/packages/server/tsconfig.base.json b/packages/server/tsconfig.base.json new file mode 100644 index 0000000..02ec15a --- /dev/null +++ b/packages/server/tsconfig.base.json @@ -0,0 +1,3 @@ +{ + "extends": "../../tsconfig.base.json" +} diff --git a/packages/server/tsconfig.json b/packages/server/tsconfig.json new file mode 100644 index 0000000..d16ea8d --- /dev/null +++ b/packages/server/tsconfig.json @@ -0,0 +1,12 @@ +{ + "extends": "./tsconfig.base.json", + "references": [ + { + "path": "./app.jsconfig.json" + }, + { + "path": "./eslint.jsconfig.json" + } + ], + "include": [] +}