File tree Expand file tree Collapse file tree 3 files changed +11
-11
lines changed Expand file tree Collapse file tree 3 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -82,9 +82,9 @@ export function getImportPathWithVersion(
82
82
if ( goVersion . lt ( '1.21' ) ) return importPath + '@v0.4.7' ;
83
83
}
84
84
if ( tool . name === 'gofumpt' ) {
85
- if ( goVersion . lt ( '1.19' ) ) return importPath + '@v0.4.0' ;
86
- if ( goVersion . lt ( '1.20' ) ) return importPath + '@v0.5.0' ;
87
- if ( goVersion . lt ( '1.21 ' ) ) return importPath + '@v0.6.0' ;
85
+ if ( goVersion . lt ( '1.19' ) ) return importPath + '@v0.4.0' ; // pre-go1.19
86
+ if ( goVersion . lt ( '1.20' ) ) return importPath + '@v0.5.0' ; // go1.19
87
+ if ( goVersion . lt ( '1.22 ' ) ) return importPath + '@v0.6.0' ; // go1.20~1.21
88
88
}
89
89
if ( tool . name === 'golangci-lint' ) {
90
90
if ( goVersion . lt ( '1.20' ) ) return importPath + '@v1.53.3' ;
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ export const allToolsInformation: { [key: string]: Tool } = {
12
12
replacedByGopls : false ,
13
13
isImportant : false ,
14
14
description : 'Modify tags on structs' ,
15
- defaultVersion : 'v1.16 .0'
15
+ defaultVersion : 'v1.17 .0'
16
16
} ,
17
17
'goplay' : {
18
18
name : 'goplay' ,
@@ -30,7 +30,7 @@ export const allToolsInformation: { [key: string]: Tool } = {
30
30
replacedByGopls : false ,
31
31
isImportant : false ,
32
32
description : 'Stubs for interfaces' ,
33
- defaultVersion : 'v1.1 .0'
33
+ defaultVersion : 'v1.4 .0'
34
34
} ,
35
35
'gofumpt' : {
36
36
name : 'gofumpt' ,
@@ -39,7 +39,7 @@ export const allToolsInformation: { [key: string]: Tool } = {
39
39
replacedByGopls : true ,
40
40
isImportant : false ,
41
41
description : 'Formatter' ,
42
- defaultVersion : 'v0.6 .0'
42
+ defaultVersion : 'v0.7 .0'
43
43
} ,
44
44
'goimports' : {
45
45
name : 'goimports' ,
@@ -92,7 +92,7 @@ export const allToolsInformation: { [key: string]: Tool } = {
92
92
modulePath : 'github.com/mgechev/revive' ,
93
93
isImportant : true ,
94
94
description : 'Linter' ,
95
- defaultVersion : 'v1.3.4 '
95
+ defaultVersion : 'v1.3.9 '
96
96
} ,
97
97
'gopls' : {
98
98
name : 'gopls' ,
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ export const allToolsInformation: { [key: string]: Tool } = {
10
10
replacedByGopls: false,
11
11
isImportant: false,
12
12
description: 'Modify tags on structs',
13
- defaultVersion: 'v1.16 .0'
13
+ defaultVersion: 'v1.17 .0'
14
14
},
15
15
'goplay': {
16
16
name: 'goplay',
@@ -28,7 +28,7 @@ export const allToolsInformation: { [key: string]: Tool } = {
28
28
replacedByGopls: false,
29
29
isImportant: false,
30
30
description: 'Stubs for interfaces',
31
- defaultVersion: 'v1.1 .0'
31
+ defaultVersion: 'v1.4 .0'
32
32
},
33
33
'gofumpt': {
34
34
name: 'gofumpt',
@@ -37,7 +37,7 @@ export const allToolsInformation: { [key: string]: Tool } = {
37
37
replacedByGopls: true,
38
38
isImportant: false,
39
39
description: 'Formatter',
40
- defaultVersion: 'v0.6 .0'
40
+ defaultVersion: 'v0.7 .0'
41
41
},
42
42
'goimports': {
43
43
name: 'goimports',
@@ -90,7 +90,7 @@ export const allToolsInformation: { [key: string]: Tool } = {
90
90
modulePath: 'github.com/mgechev/revive',
91
91
isImportant: true,
92
92
description: 'Linter',
93
- defaultVersion: 'v1.3.4 '
93
+ defaultVersion: 'v1.3.9 '
94
94
},
95
95
'gopls': {
96
96
name: 'gopls',
You can’t perform that action at this time.
0 commit comments