Fix checks command problems

Don't really need same level of linting for the bot
This commit is contained in:
Kalle
2022-06-22 22:36:49 +03:00
parent cf1a96d6ee
commit 2bee296561
5 changed files with 11 additions and 2 deletions

View File

@@ -5,6 +5,7 @@ module.exports = {
tsconfigRootDir: __dirname,
project: ["./tsconfig.json"],
},
ignorePatterns: ["discord-bot/**/*"],
plugins: ["@typescript-eslint"],
extends: [
"eslint:recommended",

View File

@@ -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 {

View File

@@ -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",

View File

@@ -0,0 +1,6 @@
{
"extends": "../tsconfig.json",
"compilerOptions": {
"isolatedModules": false
}
}

View File

@@ -1,5 +1,6 @@
{
"include": ["remix.env.d.ts", "**/*.ts", "**/*.tsx"],
"exclude": ["discord-bot/*"],
"compilerOptions": {
"lib": ["DOM", "DOM.Iterable", "ES2019"],
"types": ["cypress"],