From d61a7d3641c24fec1ea8028c6379b8e3f8de6d30 Mon Sep 17 00:00:00 2001 From: Felix Becker Date: Thu, 9 Apr 2020 11:13:35 +0200 Subject: [PATCH] feat: check against no-unsafe-any --- .eslintrc.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.eslintrc.js b/.eslintrc.js index 077276e0..362596d1 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -250,6 +250,10 @@ module.exports = { '@typescript-eslint/no-require-imports': 'error', '@typescript-eslint/no-unnecessary-qualifier': 'error', '@typescript-eslint/no-unnecessary-type-assertion': 'warn', + // Switch to error when all cases are fixed + '@typescript-eslint/no-unsafe-call': 'warn', + '@typescript-eslint/no-unsafe-member-access': 'warn', + '@typescript-eslint/no-unsafe-return': 'warn', '@typescript-eslint/no-unused-vars': [ 'warn', {