summaryrefslogtreecommitdiff
path: root/doc/pt-br
diff options
context:
space:
mode:
Diffstat (limited to 'doc/pt-br')
-rw-r--r--doc/pt-br/config.md38
1 files changed, 38 insertions, 0 deletions
diff --git a/doc/pt-br/config.md b/doc/pt-br/config.md
index 68efabb3..55604b55 100644
--- a/doc/pt-br/config.md
+++ b/doc/pt-br/config.md
@@ -333,12 +333,16 @@ object<string, string>
* cast-type-mismatch
* need-check-nil
* param-type-mismatch
+ * return-type-mismatch
* undefined-field
*/
"type-check": "Fallback",
/*
* missing-parameter
+ * missing-return
+ * missing-return-value
* redundant-parameter
+ * redundant-return-value
* redundant-value
* unbalanced-assignments
*/
@@ -446,12 +450,16 @@ object<string, string>
* cast-type-mismatch
* need-check-nil
* param-type-mismatch
+ * return-type-mismatch
* undefined-field
*/
"type-check": "Fallback",
/*
* missing-parameter
+ * missing-return
+ * missing-return-value
* redundant-parameter
+ * redundant-return-value
* redundant-value
* unbalanced-assignments
*/
@@ -580,6 +588,8 @@ object<string, string>
*/
"lowercase-global": "Any",
"missing-parameter": "Any",
+ "missing-return": "Any",
+ "missing-return-value": "Any",
"need-check-nil": "Opened",
/*
在字面量表中,2行代码之间缺少分隔符,在语法上被解析为了一次索引操作
@@ -601,10 +611,12 @@ object<string, string>
*/
"redundant-parameter": "Any",
"redundant-return": "Opened",
+ "redundant-return-value": "Any",
/*
赋值操作时,值的数量比被赋值的对象多
*/
"redundant-value": "Any",
+ "return-type-mismatch": "Opened",
"spell-check": "None",
/*
后置空格
@@ -710,6 +722,8 @@ object<string, string>
*/
"lowercase-global": "Information",
"missing-parameter": "Warning",
+ "missing-return": "Warning",
+ "missing-return-value": "Warning",
"need-check-nil": "Warning",
/*
在字面量表中,2行代码之间缺少分隔符,在语法上被解析为了一次索引操作
@@ -731,10 +745,12 @@ object<string, string>
*/
"redundant-parameter": "Warning",
"redundant-return": "Hint",
+ "redundant-return-value": "Warning",
/*
赋值操作时,值的数量比被赋值的对象多
*/
"redundant-value": "Warning",
+ "return-type-mismatch": "Warning",
"spell-check": "Information",
/*
后置空格
@@ -932,6 +948,28 @@ boolean
true
```
+# hint.semicolon
+
+If there is no semicolon at the end of the statement, display a virtual semicolon.
+
+## type
+
+```ts
+string
+```
+
+## enum
+
+* ``"All"``: All statements display virtual semicolons.
+* ``"SameLine"``: When two statements are on the same line, display a semicolon between them.
+* ``"Disable"``: Disable virtual semicolons.
+
+## default
+
+```jsonc
+"SameLine"
+```
+
# hint.setType
Show hints of type at assignment operation.