Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【FIX】 SwiftLintの修正 #115

Merged
merged 1 commit into from
May 6, 2024

[feat] add SwiftLintPlugin

8afb8dc
Select commit
Loading
Failed to load commit list.
Merged

【FIX】 SwiftLintの修正 #115

[feat] add SwiftLintPlugin
8afb8dc
Select commit
Loading
Failed to load commit list.
Xcode Cloud / discord-bot-helper | Build Check (commit) | Build - iOS succeeded May 6, 2024 in 5m 8s

84 warnings

Report Summary
Errors 0
Test Failures 0
Analysis Issues 0
Warnings 84

Details

84 Warnings

Details

  discord-bot-helper/MessageEntity.swift:16
      Unneeded Synthesized Initializer Violation: This memberwise initializer would be synthesized automatically - you do not need to define it (unneeded_synthesized_initializer)
  discord-bot-helper/Setting/SettingView.swift:59
      Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
  discord-bot-helper/Setting/SettingView.swift:35
      Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
  discord-bot-helper/AdMob/BannerView.swift:31
      Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
  discord-bot-helper/Extension/Extension+View.swift:11
      Line Length Violation: Line should be 120 characters or less; currently it has 138 characters (line_length)
  discord-bot-helper/Setting/SettingView.swift:56
      Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
  discord-bot-helper/Setting/SettingView.swift:62
      Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
  discord-bot-helper/AdMob/BannerView.swift:24
      Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
  discord-bot-helper/SendMessageView.swift:30
      Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
  discord-bot-helper/Setting/SettingView.swift:14
      Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
  discord-bot-helper/Setting/PrivacyPolicyView.swift:12
      Line Length Violation: Line should be 120 characters or less; currently it has 145 characters (line_length)
  discord-bot-helper/Setting/PrivacyPolicyView.swift:26
      Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
  discord-bot-helper/AdMob/BannerViewController.swift:23
      Opening Brace Spacing Violation: Opening braces should be preceded by a single space and on the same line as the declaration (opening_brace)
  discord-bot-helper/WebhookURLSettingView.swift:12
      Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
  discord-bot-helper/SendMessageView.swift:18
      Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
  discord-bot-helper/WebhookURLSettingView.swift:18
      Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
  discord-bot-helper/AdMob/BannerView.swift:24
      Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
  discord-bot-helper/AdMob/BannerViewController.swift:22
      Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
  discord-bot-helper/SendMessageView.swift:40
      Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
  discord-bot-helper/SendMessageView.swift:103
      Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
  discord-bot-helper/MainView.swift:30
      Opening Brace Spacing Violation: Opening braces should be preceded by a single space and on the same line as the declaration (opening_brace)
  discord-bot-helper/AdMob/BannerViewController.swift:19
      Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
  discord-bot-helper/SendMessageView.swift:30
      Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
  discord-bot-helper/AppInfo.swift:12
      Line Length Violation: Line should be 120 characters or less; currently it has 128 characters (line_length)
  discord-bot-helper/AdMob/BannerView.swift:28
      Trailing Comma Violation: Collection literals should not have trailing commas (trailing_comma)
  discord-bot-helper/MainView.swift:30
      Opening Brace Spacing Violation: Opening braces should be preceded by a single space and on the same line as the declaration (opening_brace)
  discord-bot-helper/SendMessageView.swift:85
      Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
  discord-bot-helper/AppDelegate.swift:26
      Property 'window' nearly matches optional requirement 'window' of protocol 'UIWindowSceneDelegate'
  discord-bot-helper/Setting/SettingView.swift:46
      Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
  discord-bot-helper/WebhookURLSettingView.swift:18
      Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
  discord-bot-helper/Setting/SettingView.swift:56
      Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
  discord-bot-helper/AdMob/BannerViewController.swift:27
      Line Length Violation: Line should be 120 characters or less; currently it has 128 characters (line_length)
  discord-bot-helper/MessageEntity.swift:27
      Unneeded Synthesized Initializer Violation: This memberwise initializer would be synthesized automatically - you do not need to define it (unneeded_synthesized_initializer)
  discord-bot-helper/SendMessageView.swift:40
      Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
  discord-bot-helper/AdMob/BannerView.swift:44
      Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
  discord-bot-helper/WebhookURLSettingView.swift:21
      Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
  discord-bot-helper/SendMessageView.swift:85
      Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
  discord-bot-helper/Setting/SettingView.swift:48
      Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
  discord-bot-helper/Setting/PrivacyPolicyView.swift:30
      Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
  discord-bot-helper/AdMob/BannerView.swift:61
      Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
  discord-bot-helper/Setting/PrivacyPolicyView.swift:26
      Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
  discord-bot-helper/SendMessageView.swift:103
      Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
  discord-bot-helper/AppDelegate.swift:17
      Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
  discord-bot-helper/AppDelegate.swift:30
      Line Length Violation: Line should be 120 characters or less; currently it has 127 characters (line_length)
  discord-bot-helper/AdMob/BannerViewController.swift:19
      Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
  discord-bot-helper/AdMob/BannerViewController.swift:22
      Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
  discord-bot-helper/Setting/SettingView.swift:35
      Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
  discord-bot-helper/AppDelegate.swift:30
      Line Length Violation: Line should be 120 characters or less; currently it has 127 characters (line_length)
  discord-bot-helper/AppInfo.swift:12
      Line Length Violation: Line should be 120 characters or less; currently it has 128 characters (line_length)
  discord-bot-helper/Setting/SettingView.swift:48
      Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
  discord-bot-helper/Setting/SettingView.swift:62
      Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
  discord-bot-helper/Setting/PrivacyPolicyView.swift:13
      Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
  discord-bot-helper/AdMob/BannerViewController.swift:23
      Opening Brace Spacing Violation: Opening braces should be preceded by a single space and on the same line as the declaration (opening_brace)
  discord-bot-helper/MessageEntity.swift:16
      Unneeded Synthesized Initializer Violation: This memberwise initializer would be synthesized automatically - you do not need to define it (unneeded_synthesized_initializer)
  discord-bot-helper/SendMessageView.swift:18
      Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
  discord-bot-helper/AdMob/BannerViewController.swift:16
      Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
  discord-bot-helper/MessageEntity.swift:27
      Unneeded Synthesized Initializer Violation: This memberwise initializer would be synthesized automatically - you do not need to define it (unneeded_synthesized_initializer)
  discord-bot-helper/Setting/PrivacyPolicyView.swift:12
      Line Length Violation: Line should be 120 characters or less; currently it has 145 characters (line_length)
  discord-bot-helper/Setting/SettingView.swift:46
      Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
  discord-bot-helper/Setting/SettingView.swift:64
      Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
  discord-bot-helper/MainView.swift:21
      Opening Brace Spacing Violation: Opening braces should be preceded by a single space and on the same line as the declaration (opening_brace)
  discord-bot-helper/AdMob/BannerViewController.swift:16
      Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
  discord-bot-helper/Setting/PrivacyPolicyView.swift:30
      Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
  discord-bot-helper/AdMob/BannerView.swift:28
      Trailing Comma Violation: Collection literals should not have trailing commas (trailing_comma)
  discord-bot-helper/AdMob/BannerView.swift:44
      Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
  discord-bot-helper/WebhookURLSettingView.swift:24
      Multiple Closures with Trailing Closure Violation: Trailing closure syntax should not be used when passing more than one closure argument (multiple_closures_with_trailing_closure)
  discord-bot-helper/AdMob/BannerView.swift:48
      Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
  discord-bot-helper/AdMob/BannerView.swift:61
      Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
  discord-bot-helper/MainView.swift:21
      Opening Brace Spacing Violation: Opening braces should be preceded by a single space and on the same line as the declaration (opening_brace)
  discord-bot-helper/Extension/Extension+View.swift:11
      Line Length Violation: Line should be 120 characters or less; currently it has 138 characters (line_length)
  discord-bot-helper/AdMob/BannerView.swift:48
      Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
  discord-bot-helper/Setting/SettingView.swift:14
      Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
  discord-bot-helper/Setting/SettingView.swift:64
      Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
  discord-bot-helper/Setting/SettingView.swift:39
      Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
  discord-bot-helper/Setting/SettingView.swift:39
      Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
  discord-bot-helper/WebhookURLSettingView.swift:21
      Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
  Run script build phase 'Run SwiftLint' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase.
  discord-bot-helper/Setting/SettingView.swift:59
      Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
  discord-bot-helper/Setting/PrivacyPolicyView.swift:13
      Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
  discord-bot-helper/AppDelegate.swift:17
      Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
  discord-bot-helper/AdMob/BannerViewController.swift:27
      Line Length Violation: Line should be 120 characters or less; currently it has 128 characters (line_length)
  discord-bot-helper/WebhookURLSettingView.swift:12
      Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
  discord-bot-helper/AdMob/BannerView.swift:31
      Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
  discord-bot-helper/WebhookURLSettingView.swift:24
      Multiple Closures with Trailing Closure Violation: Trailing closure syntax should not be used when passing more than one closure argument (multiple_closures_with_trailing_closure)