python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Trying to run swiftlint through Java subprocess fails (works normally through command line)
I have a java program to run different kinds of linters, calling the linters as a process using ProcessBuilder. So far, other linters have worked for the most part but with swiftlint, i'm facing a str...
Kushal Chordiya
Votes: 0
Answers: 1
Run SwiftLint on pull request GitHub actions
I m running jobs on Mac-os-11. I have integrated the SwiftLint locally as well and that is working fine. But When someone raise the pr I need to run the SwiftLint on GitHub actions. How can I do that....
aashish nagar
Votes: 0
Answers: 1
Refactor a switch statement with cyclomatic complexity
Currently i am getting the warning "Cyclomatic Complexity Violation: Function should have complexity 8 or less: currently complexity equals 9 (cyclomatic_complexity)"
I want to refactor it s...
LenKen
Votes: 0
Answers: 1
Make Custom SwiftLint action regex ignore comments
I have a custom SwiftLint action to flag up print() statements:
custom_rules:
disable_print:
included: ".*\\.swift"
name: "print usage"
regex: "((\\bprin...
Tometoyou
Votes: 0
Answers: 1