diff --git a/src/index.test.ts b/src/index.test.ts index 299182a5..8d4bc78f 100644 --- a/src/index.test.ts +++ b/src/index.test.ts @@ -244,6 +244,7 @@ test('export', (t): void => { '@typescript-eslint/no-unnecessary-type-assertion': 'error', '@typescript-eslint/no-unnecessary-type-constraint': 'error', '@typescript-eslint/no-unnecessary-boolean-literal-compare': 'error', + '@typescript-eslint/no-unsafe-argument': 'error', '@typescript-eslint/no-unused-vars': ['error', { args: 'none', caughtErrors: 'none', ignoreRestSiblings: true, vars: 'all' }], '@typescript-eslint/no-use-before-define': ['error', { functions: false, classes: false, enums: false, variables: false, typedefs: false }], '@typescript-eslint/no-unused-expressions': ['error', { allowShortCircuit: true, allowTaggedTemplates: true, allowTernary: true }], @@ -465,7 +466,6 @@ test('all plugin rules are considered', (t) => { 'no-unnecessary-condition', 'no-unnecessary-qualifier', 'no-unnecessary-type-arguments', - 'no-unsafe-argument', 'no-unsafe-assignment', 'no-unsafe-call', 'no-unsafe-declaration-merging', diff --git a/src/index.ts b/src/index.ts index c4511957..257730c0 100644 --- a/src/index.ts +++ b/src/index.ts @@ -199,6 +199,7 @@ const config: Linter.Config = { '@typescript-eslint/no-unnecessary-boolean-literal-compare': 'error', '@typescript-eslint/no-unnecessary-type-assertion': 'error', '@typescript-eslint/no-unnecessary-type-constraint': 'error', + '@typescript-eslint/no-unsafe-argument': 'error', '@typescript-eslint/no-var-requires': 'error', '@typescript-eslint/non-nullable-type-assertion-style': 'error', '@typescript-eslint/prefer-function-type': 'error',