unneeded_synthesized_initializer rule does not detect violations in a struct nested inside a class #5120
Closed
2 tasks done
Labels
bug
Unexpected and reproducible misbehavior.
New Issue Checklist
Describe the bug
A clear and concise description of what the bug is.
Given
unneeded_synthesized_initializer
will fail to detect the violation here.Environment
SwiftLint version (run
swiftlint version
to be sure)? 0.52.4Installation method used (Homebrew, CocoaPods, building from source, etc)? CocoaPods
Which Xcode version are you using (check
xcodebuild -version
)?14.2
echo "[string here]" | swiftlint lint --no-cache --use-stdin --enable-all-rules
to quickly test if your example is really demonstrating the issue. If your example is more
complex, you can use
swiftlint lint --path [file here] --no-cache --enable-all-rules
.See above
The text was updated successfully, but these errors were encountered: