tslint rule tweaks for workbench

This commit is contained in:
Benjamin Pasero 2017-06-19 12:24:31 +02:00
parent bea3a47193
commit 6c35ec8d00
2 changed files with 31 additions and 0 deletions

View file

@ -44,6 +44,7 @@ import { ICommandService } from 'vs/platform/commands/common/commands';
import { IExtensionGalleryService } from 'vs/platform/extensionManagement/common/extensionManagement';
import { ITextFileService } from 'vs/workbench/services/textfile/common/textfiles';
import { getCodeEditor as getEditorWidget } from 'vs/editor/common/services/codeEditorService';
// tslint:disable-next-line:import-patterns TODO@Ben TODO@Sandeep layer breaker
import { IPreferencesService } from 'vs/workbench/parts/preferences/common/preferences';
import { ICursorPositionChangedEvent } from 'vs/editor/common/controller/cursorEvents';
import { IConfigurationChangedEvent } from "vs/editor/common/config/editorOptions";

View file

@ -203,6 +203,36 @@
"**/vs/editor/contrib/**"
]
},
{
"target": "**/vs/workbench/common/**",
"restrictions": [
"vs/nls",
"vs/css!./**/*",
"**/vs/base/common/**",
"**/vs/base/parts/*/common/**",
"**/vs/platform/*/common/**",
"**/vs/editor/common/**",
"**/vs/editor/contrib/*/common/**",
"**/vs/workbench/common/**",
"**/vs/workbench/services/*/common/**",
"assert"
]
},
{
"target": "**/vs/workbench/browser/**",
"restrictions": [
"vs/nls",
"vs/css!./**/*",
"**/vs/base/{common,browser}/**",
"**/vs/base/parts/*/{common,browser}/**",
"**/vs/platform/*/{common,browser}/**",
"**/vs/editor/{common,browser}/**",
"**/vs/editor/contrib/*/{common,browser}/**",
"**/vs/workbench/{common,browser}/**",
"**/vs/workbench/services/*/{common,browser}/**",
"assert"
]
},
{
"target": "**/{node,electron-browser,electron-main,extensions}/**",
"restrictions": "**/*"