diff --git a/packages/eslint-config-sdk/src/index.js b/packages/eslint-config-sdk/src/index.js index 4076f507c4b3..ef5d219bcc6e 100644 --- a/packages/eslint-config-sdk/src/index.js +++ b/packages/eslint-config-sdk/src/index.js @@ -24,7 +24,7 @@ module.exports = { '@sentry-internal/sdk/no-eq-empty': 'error', // Unused variables should be removed unless they are marked with and underscore (ex. _varName). - '@typescript-eslint/no-unused-vars': ['warn', { argsIgnorePattern: '^_' }], + '@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_' }], // Make sure that all ts-ignore comments are given a description. '@typescript-eslint/ban-ts-comment': [ diff --git a/packages/typescript/tsconfig.json b/packages/typescript/tsconfig.json index 1eb5750178ce..107a5888e432 100644 --- a/packages/typescript/tsconfig.json +++ b/packages/typescript/tsconfig.json @@ -13,8 +13,8 @@ "noFallthroughCasesInSwitch": true, "noImplicitReturns": true, "noImplicitUseStrict": true, - "noUnusedLocals": true, - "noUnusedParameters": true, + "noUnusedLocals": false, + "noUnusedParameters": false, "preserveWatchOutput": true, "sourceMap": true, "strict": true,