chore: add linting and fix serious violations #129
Merged
Annotations
11 warnings
|
Complete job
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Run SwiftLint:
BetterCapture/View/SettingsView.swift#L277
Line should be 120 characters or less; currently it has 127 characters (line_length)
|
|
Run SwiftLint:
BetterCapture/View/SettingsView.swift#L153
Line should be 120 characters or less; currently it has 123 characters (line_length)
|
|
Run SwiftLint:
BetterCapture/View/SettingsView.swift#L81
Line should be 120 characters or less; currently it has 123 characters (line_length)
|
|
Run SwiftLint:
BetterCapture/Model/SettingsStore.swift#L202
Class body should span 300 lines or less excluding comments and whitespace: currently spans 361 lines (type_body_length)
|
|
Run SwiftLint:
BetterCapture/Model/SettingsStore.swift#L76
String enum values can be omitted when they are equal to the enumcase name (redundant_string_enum_value)
|
|
Run SwiftLint:
BetterCapture/Model/SettingsStore.swift#L75
String enum values can be omitted when they are equal to the enumcase name (redundant_string_enum_value)
|
|
Run SwiftLint:
BetterCapture/Model/SettingsStore.swift#L656
File should contain 500 lines or less: currently contains 656 (file_length)
|
|
Run SwiftLint:
BetterCapture/ViewModel/RecorderViewModel.swift#L146
Line should be 120 characters or less; currently it has 126 characters (line_length)
|
|
Run SwiftLint:
BetterCapture/ViewModel/RecorderViewModel.swift#L83
Line should be 120 characters or less; currently it has 122 characters (line_length)
|
|
Run SwiftLint:
BetterCapture/BetterCaptureApp.swift#L68
Collection literals should not have trailing commas (trailing_comma)
|
Loading