mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-20 02:08:47 +00:00
refine lint config, add missing jsdoc and jsdoc-tag corrections
This commit is contained in:
@@ -201,9 +201,6 @@
|
|||||||
"**/vscode.d.ts"
|
"**/vscode.d.ts"
|
||||||
],
|
],
|
||||||
"rules": {
|
"rules": {
|
||||||
"extends": [
|
|
||||||
"plugin:jsdoc/recommended-typescript"
|
|
||||||
],
|
|
||||||
"jsdoc/tag-lines": "off",
|
"jsdoc/tag-lines": "off",
|
||||||
"jsdoc/valid-types": "off",
|
"jsdoc/valid-types": "off",
|
||||||
"jsdoc/no-multi-asterisks": [
|
"jsdoc/no-multi-asterisks": [
|
||||||
@@ -220,6 +217,7 @@
|
|||||||
"TSInterfaceDeclaration",
|
"TSInterfaceDeclaration",
|
||||||
"TSPropertySignature",
|
"TSPropertySignature",
|
||||||
"TSMethodSignature",
|
"TSMethodSignature",
|
||||||
|
"TSDeclareFunction",
|
||||||
"ClassDeclaration",
|
"ClassDeclaration",
|
||||||
"MethodDefinition",
|
"MethodDefinition",
|
||||||
"PropertyDeclaration",
|
"PropertyDeclaration",
|
||||||
@@ -232,9 +230,11 @@
|
|||||||
"jsdoc/check-param-names": [
|
"jsdoc/check-param-names": [
|
||||||
"warn",
|
"warn",
|
||||||
{
|
{
|
||||||
"enableFixer": false
|
"enableFixer": false,
|
||||||
|
"checkDestructured": false
|
||||||
}
|
}
|
||||||
]
|
],
|
||||||
|
"jsdoc/require-returns": "warn"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
1435
src/vscode-dts/vscode.d.ts
vendored
1435
src/vscode-dts/vscode.d.ts
vendored
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user