Skip to content

Lint automation testing on existing files #4

Lint automation testing on existing files

Lint automation testing on existing files #4

Triggered via pull request January 1, 2025 15:49
Status Failure
Total duration 33s
Artifacts

swift-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 11 warnings
lint: test.swift#L1
Type Name Violation: Type name 'userAccount' should start with an uppercase character (type_name)
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint: DesignPatterns/Factory/factory-practice-2.swift#L7
Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals (colon)
lint: DesignPatterns/Factory/factory-practice-2.swift#L8
Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals (colon)
lint: DesignPatterns/Factory/factory-practice-2.swift#L9
Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals (colon)
lint: DesignPatterns/Factory/factory-practice-2.swift#L10
Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals (colon)
lint: DesignPatterns/Factory/factory-practice-2.swift#L33
Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals (colon)
lint: DesignPatterns/Factory/factory-practice-2.swift#L37
Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals (colon)
lint: DesignPatterns/Factory/factory-practice-2.swift#L41
Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals (colon)
lint: DesignPatterns/Factory/factory-practice-2.swift#L45
Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals (colon)
lint: DesignPatterns/Factory/factory-practice-2.swift#L7
Identifier Name Violation: Variable name 'HP' should be between 3 and 40 characters long (identifier_name)
lint: DesignPatterns/Factory/factory-practice-2.swift#L8
Identifier Name Violation: Variable name 'MP' should be between 3 and 40 characters long (identifier_name)