mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
more tslint rules
This commit is contained in:
parent
1edac424e2
commit
850c1c3770
|
@ -15,7 +15,6 @@ import { TPromise, TValueCallback } from 'vs/base/common/winjs.base';
|
|||
import { IEnvironmentService, ParsedArgs } from 'vs/platform/environment/common/environment';
|
||||
import { ILogService } from 'vs/platform/log/common/log';
|
||||
import { IConfigurationService } from 'vs/platform/configuration/common/configuration';
|
||||
import { IWorkbenchEditorConfiguration } from 'vs/workbench/common/editor';
|
||||
import { parseArgs } from 'vs/platform/environment/node/argv';
|
||||
import product from 'vs/platform/node/product';
|
||||
import { getCommonHTTPHeaders } from 'vs/platform/environment/node/http';
|
||||
|
@ -55,6 +54,14 @@ export const defaultWindowState = function (mode = WindowMode.Normal): IWindowSt
|
|||
};
|
||||
};
|
||||
|
||||
interface IWorkbenchEditorConfiguration {
|
||||
workbench: {
|
||||
editor: {
|
||||
swipeToNavigate: boolean
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
export class CodeWindow implements ICodeWindow {
|
||||
|
||||
public static themeStorageKey = 'theme';
|
||||
|
|
10
tslint.json
10
tslint.json
|
@ -347,6 +347,16 @@
|
|||
"*" // node modules
|
||||
]
|
||||
},
|
||||
{
|
||||
"target": "**/vs/code/**",
|
||||
"restrictions": [
|
||||
"vs/nls",
|
||||
"**/vs/base/**",
|
||||
"**/vs/platform/**",
|
||||
"**/vs/code/**",
|
||||
"*" // node modules
|
||||
]
|
||||
},
|
||||
{
|
||||
"target": "**/{node,electron-browser,electron-main,extensions}/**",
|
||||
"restrictions": "**/*"
|
||||
|
|
Loading…
Reference in a new issue