Replies: 1 comment 3 replies
-
Please set your configuration to eliminate all the "surely innocuous" warnings, post the configuration file, and replace the resulting output in your post. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I ran SwiftLint in the Sources directory and found 229 unique warnings or errors (below). Some of the warnings are certainly innocuous: witness the heavy use of single-character variable names. But maybe some of the suggestions could help to improve code quality.
Addressing things like high cyclomatic complexity, long files/functions, and duplicate conditions might very well avoid problems in the long run.
Will the project accept pull requests which offer remedies for the errors and warnings produced by SwiftLint?
Sources% find . -name ".swift" | xargs swiftlint 2> /dev/null | grep -E "warning|error" | sed 's/^.swift://g' | sed 's/^[0-9]:[0-9]: //g' | sort | uniq -c | sort -n
(output elided—see below)
Beta Was this translation helpful? Give feedback.
All reactions