diff --git a/docsets/SwiftLintCore.docset/Contents/Resources/Documents/generic_type_name.html b/docsets/SwiftLintCore.docset/Contents/Resources/Documents/generic_type_name.html index 8b2ba8956..c8424dd9a 100644 --- a/docsets/SwiftLintCore.docset/Contents/Resources/Documents/generic_type_name.html +++ b/docsets/SwiftLintCore.docset/Contents/Resources/Documents/generic_type_name.html @@ -352,7 +352,7 @@
func foo<T>() {}
diff --git a/docsets/SwiftLintCore.docset/Contents/Resources/Documents/identifier_name.html b/docsets/SwiftLintCore.docset/Contents/Resources/Documents/identifier_name.html
index 149dd3034..1fbd8a670 100644
--- a/docsets/SwiftLintCore.docset/Contents/Resources/Documents/identifier_name.html
+++ b/docsets/SwiftLintCore.docset/Contents/Resources/Documents/identifier_name.html
@@ -352,7 +352,7 @@
Kind: style
Analyzer rule: No
Minimum Swift compiler version: 5.0.0
-Default configuration: (min_length) w/e: 3/2, (max_length) w/e: 40/60, excluded: [“^id$”], allowed_symbols: [], validates_start_with_lowercase: error
+Default configuration: (min_length) w/e: 3/2, (max_length) w/e: 40/60, excluded: [“^id$”], allowed_symbols: [], unallowed_symbols_severity: error, validates_start_with_lowercase: error
Non Triggering Examples
let myLet = 0
diff --git a/docsets/SwiftLintCore.docset/Contents/Resources/Documents/type_name.html b/docsets/SwiftLintCore.docset/Contents/Resources/Documents/type_name.html
index c83ebe055..adb028f85 100644
--- a/docsets/SwiftLintCore.docset/Contents/Resources/Documents/type_name.html
+++ b/docsets/SwiftLintCore.docset/Contents/Resources/Documents/type_name.html
@@ -353,7 +353,7 @@ Private types may start with an underscore.
Kind: idiomatic
Analyzer rule: No
Minimum Swift compiler version: 5.0.0
-Default configuration: (min_length) w/e: 3/0, (max_length) w/e: 40/1000, excluded: [], allowed_symbols: [], validates_start_with_lowercase: error, validate_protocols: true
+Default configuration: (min_length) w/e: 3/0, (max_length) w/e: 40/1000, excluded: [], allowed_symbols: [], unallowed_symbols_severity: error, validates_start_with_lowercase: error, validate_protocols: true
Non Triggering Examples
class MyType {}
diff --git a/docsets/SwiftLintCore.docset/Contents/Resources/Documents/vertical_whitespace_closing_braces.html b/docsets/SwiftLintCore.docset/Contents/Resources/Documents/vertical_whitespace_closing_braces.html
index f0b3cdb15..f7615e7a2 100644
--- a/docsets/SwiftLintCore.docset/Contents/Resources/Documents/vertical_whitespace_closing_braces.html
+++ b/docsets/SwiftLintCore.docset/Contents/Resources/Documents/vertical_whitespace_closing_braces.html
@@ -355,27 +355,6 @@
Default configuration: severity: warning, only_enforce_before_trivial_lines: false
Non Triggering Examples
-foo(
- x: 5,
- y:6
-)
-
-[
-1,
-2,
-3
-]
-
-func foo() {
- run(5) { x in
- print(x)
- }
-}
-
-print([
- 1
-])
-
print([foo {
var sum = 0
for i in 1...5 { sum += i }
@@ -387,6 +366,12 @@
return mul
}])
+[
+1,
+2,
+3
+]
+
do {
print("x is 5")
}
@@ -395,6 +380,21 @@
print("x is 5")
}
+func foo() {
+ run(5) { x in
+ print(x)
+ }
+}
+
+foo(
+ x: 5,
+ y:6
+)
+
+print([
+ 1
+])
+
do {
print("x is 5")
}
@@ -426,31 +426,6 @@
}
Triggering Examples
-foo(
- x: 5,
- y:6
-↓
-)
-
-[
-1,
-2,
-3
-↓
-]
-
-func foo() {
- run(5) { x in
- print(x)
- }
-↓
-}
-
-print([
- 1
-↓
-])
-
print([foo {
var sum = 0
for i in 1...5 { sum += i }
@@ -463,10 +438,16 @@
↓
}])
+[
+1,
+2,
+3
+↓
+]
+
do {
print("x is 5")
↓
-
}
do {
@@ -475,9 +456,28 @@
}
+func foo() {
+ run(5) { x in
+ print(x)
+ }
+↓
+}
+
+foo(
+ x: 5,
+ y:6
+↓
+)
+
+print([
+ 1
+↓
+])
+
do {
print("x is 5")
↓
+
}
diff --git a/docsets/SwiftLintCore.tgz b/docsets/SwiftLintCore.tgz
index 8b0e8e10f..a1b98acd0 100644
Binary files a/docsets/SwiftLintCore.tgz and b/docsets/SwiftLintCore.tgz differ
diff --git a/generic_type_name.html b/generic_type_name.html
index 8b2ba8956..c8424dd9a 100644
--- a/generic_type_name.html
+++ b/generic_type_name.html
@@ -352,7 +352,7 @@
Kind: idiomatic
Analyzer rule: No
Minimum Swift compiler version: 5.0.0
-Default configuration: (min_length) w/e: 1/0, (max_length) w/e: 20/1000, excluded: [], allowed_symbols: [], validates_start_with_lowercase: error
+Default configuration: (min_length) w/e: 1/0, (max_length) w/e: 20/1000, excluded: [], allowed_symbols: [], unallowed_symbols_severity: error, validates_start_with_lowercase: error
Non Triggering Examples
func foo<T>() {}
diff --git a/identifier_name.html b/identifier_name.html
index 149dd3034..1fbd8a670 100644
--- a/identifier_name.html
+++ b/identifier_name.html
@@ -352,7 +352,7 @@
Kind: style
Analyzer rule: No
Minimum Swift compiler version: 5.0.0
-Default configuration: (min_length) w/e: 3/2, (max_length) w/e: 40/60, excluded: [“^id$”], allowed_symbols: [], validates_start_with_lowercase: error
+Default configuration: (min_length) w/e: 3/2, (max_length) w/e: 40/60, excluded: [“^id$”], allowed_symbols: [], unallowed_symbols_severity: error, validates_start_with_lowercase: error
Non Triggering Examples
let myLet = 0
diff --git a/type_name.html b/type_name.html
index c83ebe055..adb028f85 100644
--- a/type_name.html
+++ b/type_name.html
@@ -353,7 +353,7 @@ Private types may start with an underscore.
Kind: idiomatic
Analyzer rule: No
Minimum Swift compiler version: 5.0.0
-Default configuration: (min_length) w/e: 3/0, (max_length) w/e: 40/1000, excluded: [], allowed_symbols: [], validates_start_with_lowercase: error, validate_protocols: true
+Default configuration: (min_length) w/e: 3/0, (max_length) w/e: 40/1000, excluded: [], allowed_symbols: [], unallowed_symbols_severity: error, validates_start_with_lowercase: error, validate_protocols: true
Non Triggering Examples
class MyType {}
diff --git a/vertical_whitespace_closing_braces.html b/vertical_whitespace_closing_braces.html
index f0b3cdb15..f7615e7a2 100644
--- a/vertical_whitespace_closing_braces.html
+++ b/vertical_whitespace_closing_braces.html
@@ -355,27 +355,6 @@
Default configuration: severity: warning, only_enforce_before_trivial_lines: false
Non Triggering Examples
-foo(
- x: 5,
- y:6
-)
-
-[
-1,
-2,
-3
-]
-
-func foo() {
- run(5) { x in
- print(x)
- }
-}
-
-print([
- 1
-])
-
print([foo {
var sum = 0
for i in 1...5 { sum += i }
@@ -387,6 +366,12 @@
return mul
}])
+[
+1,
+2,
+3
+]
+
do {
print("x is 5")
}
@@ -395,6 +380,21 @@
print("x is 5")
}
+func foo() {
+ run(5) { x in
+ print(x)
+ }
+}
+
+foo(
+ x: 5,
+ y:6
+)
+
+print([
+ 1
+])
+
do {
print("x is 5")
}
@@ -426,31 +426,6 @@
}
Triggering Examples
-foo(
- x: 5,
- y:6
-↓
-)
-
-[
-1,
-2,
-3
-↓
-]
-
-func foo() {
- run(5) { x in
- print(x)
- }
-↓
-}
-
-print([
- 1
-↓
-])
-
print([foo {
var sum = 0
for i in 1...5 { sum += i }
@@ -463,10 +438,16 @@
↓
}])
+[
+1,
+2,
+3
+↓
+]
+
do {
print("x is 5")
↓
-
}
do {
@@ -475,9 +456,28 @@
}
+func foo() {
+ run(5) { x in
+ print(x)
+ }
+↓
+}
+
+foo(
+ x: 5,
+ y:6
+↓
+)
+
+print([
+ 1
+↓
+])
+
do {
print("x is 5")
↓
+
}