diff options
| -rw-r--r-- | .eslintrc.json | 6 | ||||
| -rw-r--r-- | package.json | 4 | ||||
| -rw-r--r-- | tsconfig.json | 2 |
3 files changed, 8 insertions, 4 deletions
diff --git a/.eslintrc.json b/.eslintrc.json index eba937e..04e16af 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -11,5 +11,9 @@ "eslint:recommended", "plugin:@typescript-eslint/eslint-recommended", "plugin:@typescript-eslint/recommended" - ] + ], + "rules": { + "no-unused-vars": "off", + "@typescript-eslint/no-unused-vars": ["warn", { "argsIgnorePattern": "^_", "varsIgnorePattern": "^_" }] + } } diff --git a/package.json b/package.json index eabc30e..34e1035 100644 --- a/package.json +++ b/package.json @@ -4,8 +4,8 @@ "description": "", "main": "app/index.mjs", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1", - "start": "node -r dotenv/config app/index.mjs" + "start": "tsc && node build/index.js", + "lint": "eslint app --ext .ts" }, "author": "Leonardo Bishop", "license": "ISC", diff --git a/tsconfig.json b/tsconfig.json index 04d1033..4477ab2 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -6,7 +6,7 @@ "module": "es2020", "moduleResolution": "node", "allowSyntheticDefaultImports": true, - "strict": true + "strict": false }, "include": ["./app/**/*.ts"], } |
