Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xxadev
vscode
提交
f80a6f9b
V
vscode
项目概览
xxadev
/
vscode
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
V
vscode
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
f80a6f9b
编写于
1月 02, 2020
作者:
J
Johannes Rieken
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update rule-disablements (eslint-disable for tslint-disable)
上级
90512e6c
变更
10
隐藏空白更改
内联
并排
Showing
10 changed file
with
13 addition
and
13 deletion
+13
-13
extensions/typescript-language-features/src/typescriptServiceClient.ts
...pescript-language-features/src/typescriptServiceClient.ts
+1
-1
src/vs/base/common/uri.ts
src/vs/base/common/uri.ts
+1
-1
src/vs/base/test/common/event.test.ts
src/vs/base/test/common/event.test.ts
+1
-0
src/vs/base/test/node/keytar.test.ts
src/vs/base/test/node/keytar.test.ts
+1
-1
src/vs/editor/test/node/classification/typescript-test.ts
src/vs/editor/test/node/classification/typescript-test.ts
+1
-1
src/vs/platform/contextkey/common/contextkey.ts
src/vs/platform/contextkey/common/contextkey.ts
+2
-4
src/vs/platform/sign/node/signService.ts
src/vs/platform/sign/node/signService.ts
+1
-2
src/vs/workbench/browser/parts/titlebar/menubarControl.ts
src/vs/workbench/browser/parts/titlebar/menubarControl.ts
+3
-2
src/vs/workbench/browser/parts/titlebar/titlebarPart.ts
src/vs/workbench/browser/parts/titlebar/titlebarPart.ts
+1
-1
src/vs/workbench/services/extensions/test/node/rpcProtocol.test.ts
...rkbench/services/extensions/test/node/rpcProtocol.test.ts
+1
-0
未找到文件。
extensions/typescript-language-features/src/typescriptServiceClient.ts
浏览文件 @
f80a6f9b
...
...
@@ -118,7 +118,7 @@ export default class TypeScriptServiceClient extends Disposable implements IType
this
.
pathSeparator
=
path
.
sep
;
this
.
lastStart
=
Date
.
now
();
//
tslint:disable-next-line: no-var-keyword
//
eslint-disable-next-line no-var
var
p
=
new
Promise
<
void
>
((
resolve
,
reject
)
=>
{
this
.
_onReady
=
{
promise
:
p
,
resolve
,
reject
};
});
...
...
src/vs/base/common/uri.ts
浏览文件 @
f80a6f9b
...
...
@@ -389,7 +389,7 @@ interface UriState extends UriComponents {
const
_pathSepMarker
=
isWindows
?
1
:
undefined
;
//
tslint:disable-next-line:class-name
//
eslint-disable-next-line @typescript-eslint/class-name-casing
class
_URI
extends
URI
{
_formatted
:
string
|
null
=
null
;
...
...
src/vs/base/test/common/event.test.ts
浏览文件 @
f80a6f9b
...
...
@@ -136,6 +136,7 @@ suite('Event', function () {
let
a
=
new
Emitter
<
undefined
>
();
let
hit
=
false
;
a
.
event
(
function
()
{
// eslint-disable-next-line no-throw-literal
throw
9
;
});
a
.
event
(
function
()
{
...
...
src/vs/base/test/node/keytar.test.ts
浏览文件 @
f80a6f9b
...
...
@@ -28,7 +28,7 @@ suite('Keytar', () => {
try
{
await
keytar
.
deletePassword
(
name
,
'
foo
'
);
}
finally
{
//
tslint:disable-next-line:
no-unsafe-finally
//
eslint-disable-next-line
no-unsafe-finally
throw
err
;
}
}
...
...
src/vs/editor/test/node/classification/typescript-test.ts
浏览文件 @
f80a6f9b
///
/*
tslint:
disable */
/*
eslint-
disable */
const
x01
=
"
string
"
;
/// ^^^^^^^^ string
...
...
src/vs/platform/contextkey/common/contextkey.ts
浏览文件 @
f80a6f9b
...
...
@@ -282,10 +282,9 @@ export class ContextKeyEqualsExpr implements ContextKeyExpr {
}
public
evaluate
(
context
:
IContext
):
boolean
{
/* tslint:disable:triple-equals */
// Intentional ==
// eslint-disable-next-line eqeqeq
return
(
context
.
getValue
(
this
.
key
)
==
this
.
value
);
/* tslint:enable:triple-equals */
}
public
serialize
():
string
{
...
...
@@ -348,10 +347,9 @@ export class ContextKeyNotEqualsExpr implements ContextKeyExpr {
}
public
evaluate
(
context
:
IContext
):
boolean
{
/* tslint:disable:triple-equals */
// Intentional !=
// eslint-disable-next-line eqeqeq
return
(
context
.
getValue
(
this
.
key
)
!=
this
.
value
);
/* tslint:enable:triple-equals */
}
public
serialize
():
string
{
...
...
src/vs/platform/sign/node/signService.ts
浏览文件 @
f80a6f9b
...
...
@@ -5,9 +5,8 @@
import
{
ISignService
}
from
'
vs/platform/sign/common/sign
'
;
/* tslint:disable */
declare
module
vsda
{
// eslint-disable-next-line @typescript-eslint/class-name-casing
export
class
signer
{
sign
(
arg
:
any
):
any
;
}
...
...
src/vs/workbench/browser/parts/titlebar/menubarControl.ts
浏览文件 @
f80a6f9b
...
...
@@ -37,10 +37,11 @@ import { isFullscreen } from 'vs/base/browser/browser';
import
{
IHostService
}
from
'
vs/workbench/services/host/browser/host
'
;
// TODO@sbatten https://github.com/microsoft/vscode/issues/81360
//
tslint:disable-next-line: import-patterns layering TODO@sbatten
//
eslint-disable-next-line code-layering, code-import-patterns
import
{
IElectronService
}
from
'
vs/platform/electron/node/electron
'
;
import
{
optional
}
from
'
vs/platform/instantiation/common/instantiation
'
;
// tslint:disable-next-line: import-patterns layering TODO@sbatten
// TODO@sbatten
// eslint-disable-next-line code-layering, code-import-patterns
import
{
IElectronEnvironmentService
}
from
'
vs/workbench/services/electron/electron-browser/electronEnvironmentService
'
;
import
{
BrowserFeatures
}
from
'
vs/base/browser/canIUse
'
;
...
...
src/vs/workbench/browser/parts/titlebar/titlebarPart.ts
浏览文件 @
f80a6f9b
...
...
@@ -43,7 +43,7 @@ import { IProductService } from 'vs/platform/product/common/productService';
import
{
REMOTE_HOST_SCHEME
}
from
'
vs/platform/remote/common/remoteHosts
'
;
// TODO@sbatten https://github.com/microsoft/vscode/issues/81360
//
tslint:disable-next-line: import-patterns layering
//
eslint-disable-next-line code-layering, code-import-patterns
import
{
IElectronService
}
from
'
vs/platform/electron/node/electron
'
;
export
class
TitlebarPart
extends
Part
implements
ITitleService
{
...
...
src/vs/workbench/services/extensions/test/node/rpcProtocol.test.ts
浏览文件 @
f80a6f9b
...
...
@@ -190,6 +190,7 @@ suite('RPCProtocol', () => {
test
(
'
issue #72798: null errors are hard to digest
'
,
function
(
done
)
{
delegate
=
(
a1
:
number
,
a2
:
number
)
=>
{
// eslint-disable-next-line no-throw-literal
throw
{
'
what
'
:
'
what
'
};
};
bProxy
.
$m
(
4
,
1
).
then
((
res
)
=>
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录