File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
packages/@vue/cli/lib/promptModules Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -19,15 +19,6 @@ module.exports = cli => {
19
19
message : 'Pick a linter / formatter config:' ,
20
20
description : 'Checking code errors and enforcing an homogeoneous code style is recommended.' ,
21
21
choices : answers => [
22
- ...(
23
- answers . features . includes ( 'ts' )
24
- ? [ {
25
- name : `TSLint` ,
26
- value : 'tslint' ,
27
- short : 'TSLint'
28
- } ]
29
- : [ ]
30
- ) ,
31
22
{
32
23
name : 'ESLint with error prevention only' ,
33
24
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' ,
47
+ short : 'TSLint'
48
+ } ]
49
+ : [ ]
50
+ )
51
51
]
52
52
} )
53
53
You can’t perform that action at this time.
0 commit comments