From a1f13c7a05262facceb24994b0e753bd98a5ef2a Mon Sep 17 00:00:00 2001 From: Haoqun Jiang Date: Wed, 17 Jul 2019 10:59:41 +0800 Subject: [PATCH] fixup! chore: deprecate tslint (#4289) --- .../cli/lib/promptModules/__tests__/typescript.spec.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/@vue/cli/lib/promptModules/__tests__/typescript.spec.js b/packages/@vue/cli/lib/promptModules/__tests__/typescript.spec.js index 6dfa69983..43f50d940 100644 --- a/packages/@vue/cli/lib/promptModules/__tests__/typescript.spec.js +++ b/packages/@vue/cli/lib/promptModules/__tests__/typescript.spec.js @@ -23,8 +23,8 @@ test('with TSLint', async () => { }, { message: 'Pick a linter / formatter', - choices: ['TSLint', 'error prevention', 'Airbnb', 'Standard', 'Prettier'], - choose: [0] + choices: ['ESLint with error prevention only', 'Airbnb', 'Standard', 'Prettier', 'TSLint (deprecated)'], + choose: [4] }, { message: 'Pick additional lint features', @@ -69,8 +69,8 @@ test('with ESLint', async () => { }, { message: 'Pick a linter / formatter', - choices: ['TSLint', 'error prevention', 'Airbnb', 'Standard', 'Prettier'], - choose: [2] + choices: ['ESLint with error prevention only', 'Airbnb', 'Standard', 'Prettier', 'TSLint (deprecated)'], + choose: [1] }, { message: 'Pick additional lint features',