Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
1 answer
54 views

I have some excluded files in my .swiftlint.yml file but when I pass in a list of files† to the swiftlint command (e.g. swiftlint lint <paths maybe including excluded files>), all the files get ...
Amja's user avatar
  • 1,478
0 votes
0 answers
57 views

I integrated SwiftLint into my HelloWorld app to explore how I can incorporate it into my development and CI flow. While it works during development, I face a problem in my pipeline during archiving. ...
0 votes
0 answers
63 views

I have a project in a multi-platform app that uses two local packages. I have the folders set up like so Project/ .swiftformat .swiftlint_strict.yml .swiftlint.yml Platforms/ iOS/ ...
1 vote
0 answers
90 views

I am using SwiftLint via Swift Package Manager (SPM) in my Xcode project and would like to enable automatic correction for removing whitespace in empty lines. I have added the following configuration ...
0 votes
0 answers
79 views

I'm using Github action to lint the swift language and using SwiftLint for that. I want SwiftLint to check only the committed and edited files in my project. I've tried multiple solutions, but none of ...
10 votes
0 answers
4k views

What is a .swiftlint or native approach employing a build phase script in Xcode to show a warning/error for unused functions and properties and to delete them? I have some dead dummy code left over ...
etayluz's user avatar
  • 16.6k
0 votes
1 answer
367 views

I configured .swiftlint.yml and have the following error: warning: Invalid configuration for 'line_length'. Falling back to default. Here is my configuration: ... line_length: error: 120 excluded:...
0 votes
1 answer
494 views

I'm attempting to use SwiftLint version 0.50.1 in my Azure DevOps pipeline to check iOS builds. Currently, the latest SwiftLint version is 0.53.0. However, I encountered some issues while trying to ...
0 votes
0 answers
84 views

Is there a way to add a rule in swiftlint that will enforce every top level class, enum, struct or protocol starting with a predetermined prefix? In my case the prefix is PSO, so all my top type ...
the Reverend's user avatar
  • 12.6k
0 votes
1 answer
1k views

I've installed SwiftLint 0.53.0 into my pet project: export PATH="$PATH:/opt/homebrew/bin" if which swiftlint > /dev/null; then swiftlint --fix else echo "Error! Swiftlint is ...
Alexey_BH's user avatar
  • 153
1 vote
0 answers
335 views

In SwiftLint there is a rule for explicit_self and a rule for redundant_self_in_closure. But is there a rule would warn for overuse of self? For instance in this example... struct FooBar { let ...
Fogmeister's user avatar
  • 77.8k
0 votes
1 answer
1k views

In my iOS porjects i use Swiftlint with the rule "force_unwrapping". But every time i need to hardcode a URL i'd like to simply force unwrap it. Is there a configuration for Swiftlint to ...
Deitsch's user avatar
  • 2,298
0 votes
0 answers
159 views

How can I apply the native file_name SwiftLint rule specifically to test files (files ending with test or tests in their name)?
2 votes
0 answers
461 views

I have many such warnings in the code: "No Space in Method Call Violation: Don't add a space between the method name and the parentheses. (no_space_in_method_call)" although there are no ...
1 vote
2 answers
102 views

Sorry that I have to ask that, with all the other answers around, but I can't get my head around to think and adapt to my problem. So I'm writing a custom SwiftLint rule that should check: does not ...
bennyyy999's user avatar

15 30 50 per page
1
2 3 4 5
...
14

AltStyle によって変換されたページ (->オリジナル) /