You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe make it optional by specifying it in the config file (#3), but it's probably a sensible default as well. Unless this already shouldn't be happening and I messed it up 😁
What would be the ideal interface for this assuming you may want to exclude multiple directories? It doesn't seem like commandant supports multiple flags for the same attribute like:
--exclude Pods --exclude Carthage
Another option would be to use some delimiter for this:
SwiftLint should be smart enough to understand, that if he is installed as a pod, he should exclude /Pods directory.
Also, I believe if .swiftlint.yml is added to pod directory, it will be removed with first pod update.
Activity
segiddins commentedon May 18, 2015
I think making the files checked configurable would be excellent, and excluding
Pods(andCarthage) by default probably makes sense!saleksandras commentedon May 22, 2015
+1
shams-ahmed commentedon May 24, 2015
+1
GlaucoNeves commentedon May 26, 2015
+1
Excluding Pods files by default (fix realm#6)
skywinder commentedon May 28, 2015
+1
rajohns08 commentedon May 28, 2015
+1
larslockefeer commentedon May 29, 2015
This is the opposite of the behavior added in #44. Do we want to support both, or one of the two?
I could give this one a shot as well if desired. Should probably be a comma separated list of paths?
jpsim commentedon May 29, 2015
Something like an
--excludeflag would be my preference.keith commentedon Aug 11, 2015
What would be the ideal interface for this assuming you may want to exclude multiple directories? It doesn't seem like commandant supports multiple flags for the same attribute like:
Another option would be to use some delimiter for this:
jpsim commentedon Aug 23, 2015
I'd go for the delimiter approach.
scottrhoyt commentedon Feb 3, 2016
Closing because this is possible with
includedandexcludedparameters in.swiftlint.yml.shmidt commentedon Jun 22, 2018
SwiftLint should be smart enough to understand, that if he is installed as a pod, he should exclude /Pods directory.
Also, I believe if
.swiftlint.ymlis added to pod directory, it will be removed with firstpod update.[CI] Remove 'TSan Runs' job
[CI] Remove 'TSan Runs' job (#4701)
Merge pull request realm#6 in IOSUTILS/swiftlint from refs/for/featur…