We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 615ae0f commit 53b3dafCopy full SHA for 53b3daf
packages/@vue/cli/lib/promptModules/linter.js
@@ -19,15 +19,6 @@ module.exports = cli => {
19
message: 'Pick a linter / formatter config:',
20
description: 'Checking code errors and enforcing an homogeoneous code style is recommended.',
21
choices: answers => [
22
- ...(
23
- answers.features.includes('ts')
24
- ? [{
25
- name: `TSLint`,
26
- value: 'tslint',
27
- short: 'TSLint'
28
- }]
29
- : []
30
- ),
31
{
32
name: 'ESLint with error prevention only',
33
value: 'base',
@@ -47,7 +38,16 @@ module.exports = cli => {
47
38
name: 'ESLint + Prettier',
48
39
value: 'prettier',
49
40
short: 'Prettier'
50
- }
41
+ },
42
+ ...(
43
+ answers.features.includes('ts')
44
+ ? [{
45
+ name: `TSLint (deprecated)`,
46
+ value: 'tslint',
+ short: 'TSLint'
+ }]
+ : []
+ )
51
]
52
})
53
0 commit comments