realm/SwiftLint

Allow parent config as an argument

Open

#5.421 geöffnet am 16. Jan. 2024

Auf GitHub ansehen
 (4 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Swift (2.295 Forks)batch import
enhancementgood first issue

Repository-Metriken

Stars
 (19.570 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 16T 3h) (37 gemergte PRs in 30 T)

Beschreibung

New Issue Checklist

Feature Request

I would like to add --parent-config argument to the lint command. That way we don't have to specify the parent-config: inside of the config file. The use case for this is that the parent config path is not known ahead of time and I need to pass it in from a temporary directory where it is pulled and I don't control the path of the directory.

This is how it would look

swiftlint lint --parent-config "path/to/config" 

It would add the parent config to the .swiftlint config file it reads during execution.

Contributor Guide