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
When using SwiftLint 0.20.0, when specifying a path (that is not the current directory) with --path, that directory's .swiftlint.yml is ignored.
To reproduce it, just create the following 2 files in a subdirectory.
# subdir/.swiftlint.ymldisabled_rules:
- todo
// subdir/MyCode.swift
// TODO: ABCDEFG
Specifying the path causes the directory's .swiftlint.yml to be ignored.
$ swiftlint lint --no-cache --quiet # Not path specified, no warning as expected
$ swiftlint lint --no-cache --quiet --path subdir # Specifying the path gets you an unexpected warning
.../subdir/MyCode.swift:2:4: warning: Todo Violation: TODOs should be avoided (ABCDEFG). (todo)
The text was updated successfully, but these errors were encountered:
When using SwiftLint 0.20.0, when specifying a path (that is not the current directory) with
--path
, that directory's.swiftlint.yml
is ignored.To reproduce it, just create the following 2 files in a subdirectory.
Specifying the path causes the directory's
.swiftlint.yml
to be ignored.The text was updated successfully, but these errors were encountered: