Shayokh144 / SurveyApp

0 stars 0 forks source link

lint added #27

Closed Shayokh144 closed 2 years ago

Shayokh144 commented 2 years ago

lint added for all existing file

github-actions[bot] commented 2 years ago
Warnings
:warning: DANGER IS ADDED
Messages
:book: This is a test message...

SwiftLint found issues

Severity File Reason
Warning Dangerfile.swift:14 Prefer at least one space after slashes for comments. (comment_spacing)
Warning Dangerfile.swift:15 Prefer at least one space after slashes for comments. (comment_spacing)
Warning Dangerfile.swift:17 Files should have a single trailing newline. (trailing_newline)
Warning UIConstants.swift:17 Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
Warning UIConstants.swift:18 Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
Warning UIConstants.swift:19 Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
Warning UIConstants.swift:20 Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
Warning UIConstants.swift:21 Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
Warning UIConstants.swift:23 Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
Warning UIConstants.swift:24 Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
Warning UIConstants.swift:26 Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
Warning UIConstants.swift:27 Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
Warning UIConstants.swift:28 Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
Warning UIConstants.swift:29 Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
Warning UIConstants.swift:31 Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
Warning UIConstants.swift:32 Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
Warning UIConstants.swift:33 Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
Warning UIConstants.swift:34 Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
Warning UIConstants.swift:35 Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
Warning UIConstants.swift:42 Variable name should be between 3 and 40 characters long: 'surveyDetailsViewTitleAccesibilityIdentifier' (identifier_name)
Warning UIConstants.swift:10 Opening braces should be preceded by a single space and on the same line as the declaration. (opening_brace)
Warning UIConstants.swift:51 Opening braces should be preceded by a single space and on the same line as the declaration. (opening_brace)
Error UIConstants.swift:46 Prefer shorthand operators (+=, -=, *=, /=) over doing the operation and assigning. (shorthand_operator)
Warning UIConstants.swift:44 Limit vertical whitespace to a single empty line. Currently 2. (vertical_whitespace)

Generated by :no_entry_sign: Danger Swift against c5162840c817a830c9ee56ed1faa7ad96bcda06a