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
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -277,6 +277,7 @@ There's 3 more parameters you can optionally set if needed:
277
277
1.`excludeFilters`: Array of `Regex` objects to exclude from the file paths to check.
278
278
2.`autoCorrectReplacement`: Replacement string which can reference any capture groups in the `regex`.
279
279
3.`autoCorrectExamples`: Example structs with `before` and `after` for autocorrection validation.
280
+
4.`repeatIfAutoCorrected`: Repeat check if at least one auto-correction was applied in last run. Defaults to `false`.
280
281
281
282
The `excludeFilters` can be used alternatively to the `includeFilters` or alongside them. If used alongside, exclusion will take precedence over inclusion.
Copy file name to clipboardExpand all lines: Sources/AnyLint/Lint.swift
+5-2Lines changed: 5 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,7 @@ public enum Lint {
14
14
/// - excludeFilters: An array of regexes defining which files should be excluded from the check. Will ignore all files matching any of the given regexes. Takes precedence over includes.
15
15
/// - autoCorrectReplacement: A replacement string which can reference any capture groups in the `regex` to use for autocorrection.
16
16
/// - autoCorrectExamples: An array of example structs with a `before` and an `after` String object to check if autocorrection works properly.
17
+
/// - repeatIfAutoCorrected: Repeat check if at least one auto-correction was applied in last run. Defaults to `false`.
0 commit comments