Include templates in the swiftlint search path. Fixed warnings.

This commit is contained in:
Stefan Ceriu 2022-05-12 12:44:07 +03:00 committed by Stefan Ceriu
parent 2f6015b97b
commit fd23649f95
2 changed files with 3 additions and 2 deletions

View File

@ -14,6 +14,7 @@ opt_in_rules:
# paths to include during linting. `--path` is ignored if present.
included:
- ElementX
- Tools/Scripts/Templates
line_length:
warning: 250

View File

@ -57,9 +57,9 @@ struct TemplateSimpleScreen: View {
Image(systemName: context.viewState.promptType.imageSystemName)
.resizable()
.scaledToFit()
.frame(width:100)
.frame(width: 100)
HStack{
HStack {
Text("Counter: \(context.viewState.count)")
Button("-") {