diff --git a/packages/eslint-config-typescript/index.js b/packages/eslint-config-typescript/index.js index e1b3dc89..3a54b3ed 100644 --- a/packages/eslint-config-typescript/index.js +++ b/packages/eslint-config-typescript/index.js @@ -10,6 +10,9 @@ module.exports = { '@typescript-eslint/no-unused-vars': ['error', { args: 'all', argsIgnorePattern: '^_' }], // Per the docs, the root no-unused-vars should be disabled: // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-unused-vars.md - 'no-unused-vars': 'off' + 'no-unused-vars': 'off', + + // https://github.com/typescript-eslint/typescript-eslint/blob/1cf9243/docs/getting-started/linting/FAQ.md#i-get-errors-from-the-no-undef-rule-about-global-variables-not-being-defined-even-though-there-are-no-typescript-errors + 'no-undef': 'off' } }