diff --git a/.eslintrc.js b/.eslintrc.js index f9d66af26..6a890f0f4 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -5,6 +5,7 @@ module.exports = { tsconfigRootDir: __dirname, project: ["./tsconfig.json"], }, + ignorePatterns: ["discord-bot/**/*"], plugins: ["@typescript-eslint"], extends: [ "eslint:recommended", diff --git a/app/styles/common.css b/app/styles/common.css index afd56e8e1..2cd46f9f1 100644 --- a/app/styles/common.css +++ b/app/styles/common.css @@ -66,6 +66,7 @@ .combobox-options { position: absolute; + z-index: 2; width: 12rem; margin-top: var(--s-2); background-color: var(--bg-darker); @@ -74,7 +75,6 @@ font-size: var(--fonts-sm); padding-block: var(--s-3); padding-inline: 0; - z-index: 2; } .combobox-options.empty { diff --git a/discord-bot/package.json b/discord-bot/package.json index 1cbd3a839..514fc384b 100644 --- a/discord-bot/package.json +++ b/discord-bot/package.json @@ -3,7 +3,8 @@ "scripts": { "dev": "node --experimental-fetch --require ts-node/register --require tsconfig-paths/register index.ts", "commands": "ts-node deploy-commands.ts", - "test": "echo \"Error: no test specified\" && exit 1" + "test": "echo \"Error: no test specified\" && exit 1", + "typecheck": "tsc --noEmit" }, "dependencies": { "@discordjs/builders": "^0.15.0", diff --git a/discord-bot/tsconfig.bot.json b/discord-bot/tsconfig.bot.json new file mode 100644 index 000000000..3b3f8ceda --- /dev/null +++ b/discord-bot/tsconfig.bot.json @@ -0,0 +1,6 @@ +{ + "extends": "../tsconfig.json", + "compilerOptions": { + "isolatedModules": false + } +} diff --git a/tsconfig.json b/tsconfig.json index b2692199a..2f6bf0914 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,5 +1,6 @@ { "include": ["remix.env.d.ts", "**/*.ts", "**/*.tsx"], + "exclude": ["discord-bot/*"], "compilerOptions": { "lib": ["DOM", "DOM.Iterable", "ES2019"], "types": ["cypress"],