From 9d9c7925a016e50dad1acb0f189409df2d4274f7 Mon Sep 17 00:00:00 2001 From: William Swanson Date: Wed, 7 Aug 2019 08:21:53 -0700 Subject: [PATCH] fix: [no-use-before-define] Disable eslint version This config replaces several ESLint rules with @typescript-eslint equivalents, but it missed `no-use-before-define`. --- src/index.test.ts | 1 + src/index.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/src/index.test.ts b/src/index.test.ts index dca802f6..a518e156 100644 --- a/src/index.test.ts +++ b/src/index.test.ts @@ -15,6 +15,7 @@ test('export', (t): void => { 'no-array-constructor': 'off', 'no-undef': 'off', 'no-unused-vars': 'off', + 'no-use-before-define': 'off', 'no-useless-constructor': 'off', '@typescript-eslint/adjacent-overload-signatures': 'error', '@typescript-eslint/array-type': ['error', 'array-simple'], diff --git a/src/index.ts b/src/index.ts index 1c08f581..4b26a6d3 100644 --- a/src/index.ts +++ b/src/index.ts @@ -14,6 +14,7 @@ export = { indent: 'off', 'no-array-constructor': 'off', 'no-unused-vars': 'off', + 'no-use-before-define': 'off', 'no-useless-constructor': 'off', // @typescript-eslint versions of Standard.js rules: