From 0266111f7a1f761ece48db7a1ddbdd8debc30b1c Mon Sep 17 00:00:00 2001 From: Paul Tran-Van Date: Fri, 18 Oct 2024 13:54:52 +0200 Subject: [PATCH] chore: Make eslint less unpleasant --- eslint.config.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/eslint.config.js b/eslint.config.js index ccf6236..e785e03 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -101,13 +101,13 @@ const config = [ '@typescript-eslint': tseslint.plugin }, rules: { - '@typescript-eslint/no-unsafe-argument': 'error', - '@typescript-eslint/no-unsafe-assignment': 'error', - '@typescript-eslint/no-unsafe-call': 'error', - '@typescript-eslint/no-unsafe-member-access': 'error', - '@typescript-eslint/no-unsafe-return': 'error', + '@typescript-eslint/no-unsafe-argument': 'warn', + '@typescript-eslint/no-unsafe-assignment': 'warn', + '@typescript-eslint/no-unsafe-call': 'warn', + '@typescript-eslint/no-unsafe-member-access': 'warn', + '@typescript-eslint/no-unsafe-return': 'warn', '@typescript-eslint/explicit-function-return-type': 'error', - '@typescript-eslint/no-explicit-any': 'error', + '@typescript-eslint/no-explicit-any': 'warn', '@typescript-eslint/no-unused-vars': [ 'error', { ignoreRestSiblings: true }