tslint rule tweaks for workbench
This commit is contained in:
parent
bea3a47193
commit
6c35ec8d00
|
@ -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";
|
||||
|
|
30
tslint.json
30
tslint.json
|
@ -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": "**/*"
|
||||
|
|
Loading…
Reference in a new issue