Skip to content

Commit 2ee6d70

Browse files
committed
fix: linter fixes
1 parent 63c4cb0 commit 2ee6d70

2 files changed

Lines changed: 5 additions & 11 deletions

File tree

internal/auth0/quickstart.go

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -197,9 +197,7 @@ type AppConfig struct {
197197

198198
var QuickstartConfigs = map[string]AppConfig{
199199

200-
// ==========================================
201-
// Single Page Applications (SPA)
202-
// ==========================================
200+
// ==========================================.
203201
"spa:react:vite": {
204202
EnvValues: map[string]string{
205203
"VITE_AUTH0_DOMAIN": DetectionSub,
@@ -285,9 +283,7 @@ var QuickstartConfigs = map[string]AppConfig{
285283
Strategy: FileOutputStrategy{Path: "lib/auth_config.dart", Format: "dart"},
286284
},
287285

288-
// ==========================================
289-
// Regular Web Applications
290-
// ==========================================
286+
// ==========================================.
291287
"regular:nextjs:none": {
292288
EnvValues: map[string]string{
293289
"AUTH0_DOMAIN": DetectionSub,
@@ -553,9 +549,7 @@ var QuickstartConfigs = map[string]AppConfig{
553549
Strategy: FileOutputStrategy{Path: ".env", Format: "dotenv"},
554550
},
555551

556-
// ==========================================
557-
// Native / Mobile Applications
558-
// ==========================================
552+
// ==========================================.
559553
"native:flutter:none": {
560554
EnvValues: map[string]string{
561555
"domain": DetectionSub,

internal/cli/quickstart_detect.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -452,13 +452,13 @@ func readPomArtifactID(dir string) string {
452452
return ""
453453
}
454454
const open = "<artifactId>"
455-
const close = "</artifactId>"
455+
const closeTag = "</artifactId>"
456456
start := strings.Index(data, open)
457457
if start == -1 {
458458
return ""
459459
}
460460
start += len(open)
461-
end := strings.Index(data[start:], close)
461+
end := strings.Index(data[start:], closeTag)
462462
if end == -1 {
463463
return ""
464464
}

0 commit comments

Comments
 (0)