2016-01-14 16:53:55 +00:00
|
|
|
{
|
2017-05-17 14:13:23 +00:00
|
|
|
"rulesDirectory": [
|
|
|
|
"build/lib/tslint"
|
|
|
|
],
|
2016-01-14 16:53:55 +00:00
|
|
|
"rules": {
|
2019-01-04 23:27:22 +00:00
|
|
|
"no-arg": true,
|
2019-01-04 00:30:00 +00:00
|
|
|
"no-construct": true,
|
|
|
|
"no-duplicate-super": true,
|
|
|
|
"no-duplicate-switch-case": true,
|
|
|
|
"no-duplicate-variable": true,
|
|
|
|
"no-eval": true,
|
2019-01-04 23:27:22 +00:00
|
|
|
"no-redundant-jsdoc": true,
|
2019-01-04 00:30:00 +00:00
|
|
|
"no-sparse-arrays": true,
|
2017-06-20 15:13:39 +00:00
|
|
|
"no-string-throw": true,
|
2019-01-04 00:30:00 +00:00
|
|
|
"no-unsafe-finally": true,
|
2016-01-15 13:45:30 +00:00
|
|
|
"no-unused-expression": true,
|
2019-01-04 02:02:48 +00:00
|
|
|
"no-var-keyword": true,
|
2019-01-04 23:45:28 +00:00
|
|
|
"number-literal-format": true,
|
2016-02-04 15:01:05 +00:00
|
|
|
"curly": true,
|
|
|
|
"class-name": true,
|
2019-01-04 00:30:00 +00:00
|
|
|
"label-position": true,
|
2016-11-10 11:40:19 +00:00
|
|
|
"semicolon": [
|
2017-10-28 09:47:46 +00:00
|
|
|
true,
|
2016-11-10 11:40:19 +00:00
|
|
|
"always"
|
|
|
|
],
|
2016-02-17 22:04:32 +00:00
|
|
|
"triple-equals": true,
|
|
|
|
"no-unexternalized-strings": [
|
|
|
|
true,
|
|
|
|
{
|
2016-11-10 11:40:19 +00:00
|
|
|
"signatures": [
|
|
|
|
"localize",
|
|
|
|
"nls.localize"
|
|
|
|
],
|
2016-02-17 22:04:32 +00:00
|
|
|
"keyIndex": 0,
|
|
|
|
"messageIndex": 1
|
|
|
|
}
|
2016-11-10 11:40:19 +00:00
|
|
|
],
|
|
|
|
"layering": [
|
2016-11-11 16:42:29 +00:00
|
|
|
true,
|
2016-11-10 11:40:19 +00:00
|
|
|
{
|
|
|
|
"common": [],
|
|
|
|
"node": [
|
|
|
|
"common"
|
|
|
|
],
|
|
|
|
"browser": [
|
|
|
|
"common"
|
|
|
|
],
|
2016-11-10 14:33:14 +00:00
|
|
|
"electron-main": [
|
2016-11-10 11:40:19 +00:00
|
|
|
"common",
|
2016-11-10 14:33:14 +00:00
|
|
|
"node"
|
2016-11-10 11:40:19 +00:00
|
|
|
],
|
|
|
|
"electron-browser": [
|
|
|
|
"common",
|
|
|
|
"browser",
|
|
|
|
"node"
|
|
|
|
]
|
|
|
|
}
|
2016-11-10 14:22:37 +00:00
|
|
|
],
|
|
|
|
"import-patterns": [
|
2016-11-11 16:32:51 +00:00
|
|
|
true,
|
2017-06-16 10:53:55 +00:00
|
|
|
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
|
|
// !!! Do not relax these rules !!!
|
|
|
|
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
2017-06-16 10:29:28 +00:00
|
|
|
{
|
|
|
|
"target": "**/vs/base/common/**",
|
|
|
|
"restrictions": [
|
|
|
|
"vs/nls",
|
|
|
|
"**/vs/base/common/**"
|
|
|
|
]
|
|
|
|
},
|
2017-06-16 11:05:38 +00:00
|
|
|
{
|
|
|
|
"target": "**/vs/base/test/common/**",
|
|
|
|
"restrictions": [
|
|
|
|
"assert",
|
|
|
|
"vs/nls",
|
|
|
|
"**/vs/base/common/**",
|
|
|
|
"**/vs/base/test/common/**"
|
|
|
|
]
|
|
|
|
},
|
2017-06-16 10:53:55 +00:00
|
|
|
{
|
|
|
|
"target": "**/vs/base/browser/**",
|
|
|
|
"restrictions": [
|
|
|
|
"vs/nls",
|
|
|
|
"vs/css!./**/*",
|
2017-06-19 09:00:23 +00:00
|
|
|
"**/vs/base/{common,browser}/**"
|
2017-06-16 10:53:55 +00:00
|
|
|
]
|
|
|
|
},
|
2018-09-03 05:33:11 +00:00
|
|
|
{
|
|
|
|
"target": "**/vs/base/node/**",
|
|
|
|
"restrictions": [
|
|
|
|
"vs/nls",
|
|
|
|
"**/vs/base/{common,browser,node}/**",
|
|
|
|
"*" // node modules
|
|
|
|
]
|
|
|
|
},
|
2017-06-16 11:05:38 +00:00
|
|
|
{
|
|
|
|
// vs/base/test/browser contains tests for vs/base/browser
|
|
|
|
"target": "**/vs/base/test/browser/**",
|
|
|
|
"restrictions": [
|
|
|
|
"assert",
|
|
|
|
"vs/nls",
|
2017-06-19 09:00:23 +00:00
|
|
|
"**/vs/base/{common,browser}/**",
|
|
|
|
"**/vs/base/test/{common,browser}/**"
|
2017-06-16 11:05:38 +00:00
|
|
|
]
|
|
|
|
},
|
2017-06-16 16:04:37 +00:00
|
|
|
{
|
2017-06-19 09:18:40 +00:00
|
|
|
"target": "**/vs/base/parts/*/common/**",
|
2017-06-16 16:04:37 +00:00
|
|
|
"restrictions": [
|
|
|
|
"vs/nls",
|
2017-06-19 09:18:40 +00:00
|
|
|
"**/vs/base/common/**",
|
|
|
|
"**/vs/base/parts/*/common/**"
|
2017-06-16 16:04:37 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2017-06-19 09:18:40 +00:00
|
|
|
"target": "**/vs/base/parts/*/browser/**",
|
2017-06-16 16:04:37 +00:00
|
|
|
"restrictions": [
|
|
|
|
"vs/nls",
|
|
|
|
"vs/css!./**/*",
|
2017-06-19 09:00:23 +00:00
|
|
|
"**/vs/base/{common,browser}/**",
|
2017-06-19 09:18:40 +00:00
|
|
|
"**/vs/base/parts/*/{common,browser}/**"
|
2017-06-16 16:04:37 +00:00
|
|
|
]
|
|
|
|
},
|
2018-09-03 05:33:11 +00:00
|
|
|
{
|
|
|
|
"target": "**/vs/base/parts/*/node/**",
|
|
|
|
"restrictions": [
|
|
|
|
"vs/nls",
|
|
|
|
"**/vs/base/{common,browser,node}/**",
|
|
|
|
"**/vs/base/parts/*/{common,browser,node}/**",
|
|
|
|
"*" // node modules
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"target": "**/vs/base/parts/*/electron-browser/**",
|
|
|
|
"restrictions": [
|
|
|
|
"vs/nls",
|
|
|
|
"vs/css!./**/*",
|
|
|
|
"**/vs/base/{common,browser,node,electron-browser}/**",
|
|
|
|
"**/vs/base/parts/*/{common,browser,node,electron-browser}/**",
|
|
|
|
"*" // node modules
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"target": "**/vs/base/parts/*/electron-main/**",
|
|
|
|
"restrictions": [
|
|
|
|
"vs/nls",
|
|
|
|
"**/vs/base/{common,browser,node,electron-main}/**",
|
|
|
|
"**/vs/base/parts/*/{common,browser,node,electron-main}/**",
|
|
|
|
"*" // node modules
|
|
|
|
]
|
|
|
|
},
|
2017-06-19 08:51:30 +00:00
|
|
|
{
|
|
|
|
"target": "**/vs/platform/*/common/**",
|
|
|
|
"restrictions": [
|
|
|
|
"vs/nls",
|
|
|
|
"**/vs/base/common/**",
|
2017-06-19 09:18:40 +00:00
|
|
|
"**/vs/base/parts/*/common/**",
|
|
|
|
"**/vs/platform/*/common/**"
|
|
|
|
]
|
|
|
|
},
|
2017-06-20 07:53:37 +00:00
|
|
|
{
|
|
|
|
"target": "**/vs/platform/*/test/common/**",
|
|
|
|
"restrictions": [
|
|
|
|
"assert",
|
2017-06-26 13:16:22 +00:00
|
|
|
"sinon",
|
2017-06-20 07:53:37 +00:00
|
|
|
"vs/nls",
|
|
|
|
"**/vs/base/common/**",
|
|
|
|
"**/vs/platform/*/common/**",
|
|
|
|
"**/vs/platform/*/test/common/**"
|
|
|
|
]
|
|
|
|
},
|
2017-06-19 09:18:40 +00:00
|
|
|
{
|
|
|
|
"target": "**/vs/platform/*/browser/**",
|
|
|
|
"restrictions": [
|
|
|
|
"vs/nls",
|
|
|
|
"vs/css!./**/*",
|
|
|
|
"**/vs/base/{common,browser}/**",
|
|
|
|
"**/vs/base/parts/*/{common,browser}/**",
|
|
|
|
"**/vs/platform/*/{common,browser}/**"
|
2017-06-19 08:51:30 +00:00
|
|
|
]
|
|
|
|
},
|
2018-09-03 05:33:11 +00:00
|
|
|
{
|
|
|
|
"target": "**/vs/platform/*/node/**",
|
|
|
|
"restrictions": [
|
|
|
|
"vs/nls",
|
|
|
|
"**/vs/base/{common,browser,node}/**",
|
|
|
|
"**/vs/base/parts/*/{common,browser,node}/**",
|
|
|
|
"**/vs/platform/*/{common,browser,node}/**",
|
|
|
|
"*" // node modules
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"target": "**/vs/platform/*/electron-browser/**",
|
|
|
|
"restrictions": [
|
|
|
|
"vs/nls",
|
|
|
|
"vs/css!./**/*",
|
|
|
|
"**/vs/base/{common,browser,node}/**",
|
|
|
|
"**/vs/base/parts/*/{common,browser,node,electron-browser}/**",
|
|
|
|
"**/vs/platform/*/{common,browser,node,electron-browser}/**",
|
|
|
|
"*" // node modules
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"target": "**/vs/platform/*/electron-main/**",
|
|
|
|
"restrictions": [
|
|
|
|
"vs/nls",
|
|
|
|
"**/vs/base/{common,browser,node}/**",
|
|
|
|
"**/vs/base/parts/*/{common,browser,node,electron-browser}/**",
|
|
|
|
"**/vs/platform/*/{common,browser,node,electron-main}/**",
|
|
|
|
"*" // node modules
|
|
|
|
]
|
|
|
|
},
|
2017-06-20 07:53:37 +00:00
|
|
|
{
|
|
|
|
"target": "**/vs/platform/*/test/browser/**",
|
|
|
|
"restrictions": [
|
|
|
|
"assert",
|
2017-06-26 13:16:22 +00:00
|
|
|
"sinon",
|
2017-06-20 07:53:37 +00:00
|
|
|
"vs/nls",
|
|
|
|
"**/vs/base/{common,browser}/**",
|
|
|
|
"**/vs/platform/*/{common,browser}/**",
|
|
|
|
"**/vs/platform/*/test/{common,browser}/**"
|
|
|
|
]
|
|
|
|
},
|
2017-06-16 16:04:37 +00:00
|
|
|
{
|
|
|
|
"target": "**/vs/editor/common/**",
|
|
|
|
"restrictions": [
|
|
|
|
"vs/nls",
|
|
|
|
"**/vs/base/common/**",
|
|
|
|
"**/vs/base/worker/**",
|
|
|
|
"**/vs/platform/*/common/**",
|
|
|
|
"**/vs/editor/common/**"
|
|
|
|
]
|
|
|
|
},
|
2017-06-19 08:39:39 +00:00
|
|
|
{
|
|
|
|
"target": "**/vs/editor/test/common/**",
|
|
|
|
"restrictions": [
|
|
|
|
"assert",
|
|
|
|
"vs/nls",
|
|
|
|
"**/vs/base/common/**",
|
|
|
|
"**/vs/platform/*/common/**",
|
|
|
|
"**/vs/platform/*/test/common/**",
|
|
|
|
"**/vs/editor/common/**",
|
|
|
|
"**/vs/editor/test/common/**"
|
|
|
|
]
|
|
|
|
},
|
2017-06-16 16:04:37 +00:00
|
|
|
{
|
|
|
|
"target": "**/vs/editor/browser/**",
|
|
|
|
"restrictions": [
|
|
|
|
"vs/nls",
|
|
|
|
"vs/css!./**/*",
|
2017-06-19 09:00:23 +00:00
|
|
|
"**/vs/base/{common,browser}/**",
|
|
|
|
"**/vs/platform/*/{common,browser}/**",
|
2017-06-19 10:03:14 +00:00
|
|
|
"**/vs/editor/{common,browser}/**"
|
2017-06-16 16:04:37 +00:00
|
|
|
]
|
|
|
|
},
|
2017-06-19 09:59:16 +00:00
|
|
|
{
|
|
|
|
"target": "**/vs/editor/test/browser/**",
|
|
|
|
"restrictions": [
|
|
|
|
"assert",
|
|
|
|
"vs/nls",
|
|
|
|
"**/vs/base/{common,browser}/**",
|
|
|
|
"**/vs/platform/*/{common,browser}/**",
|
2017-06-19 10:10:34 +00:00
|
|
|
"**/vs/platform/*/test/{common,browser}/**",
|
2017-06-19 09:59:16 +00:00
|
|
|
"**/vs/editor/{common,browser}/**",
|
2017-06-19 10:10:34 +00:00
|
|
|
"**/vs/editor/test/{common,browser}/**"
|
2017-06-19 09:59:16 +00:00
|
|
|
]
|
|
|
|
},
|
2017-06-19 14:44:25 +00:00
|
|
|
{
|
|
|
|
"target": "**/vs/editor/standalone/common/**",
|
|
|
|
"restrictions": [
|
|
|
|
"vs/nls",
|
|
|
|
"**/vs/base/common/**",
|
|
|
|
"**/vs/platform/*/common/**",
|
2017-06-19 14:52:46 +00:00
|
|
|
"**/vs/editor/common/**",
|
|
|
|
"**/vs/editor/standalone/common/**"
|
2017-06-19 14:44:25 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"target": "**/vs/editor/standalone/test/common/**",
|
|
|
|
"restrictions": [
|
|
|
|
"assert",
|
|
|
|
"vs/nls",
|
|
|
|
"**/vs/base/common/**",
|
|
|
|
"**/vs/platform/*/common/**",
|
|
|
|
"**/vs/platform/*/test/common/**",
|
|
|
|
"**/vs/editor/common/**",
|
|
|
|
"**/vs/editor/test/common/**"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"target": "**/vs/editor/standalone/browser/**",
|
|
|
|
"restrictions": [
|
|
|
|
"vs/nls",
|
|
|
|
"vs/css!./**/*",
|
|
|
|
"**/vs/base/{common,browser}/**",
|
2017-06-20 06:45:32 +00:00
|
|
|
"**/vs/base/parts/*/{common,browser}/**",
|
2017-06-19 14:44:25 +00:00
|
|
|
"**/vs/platform/*/{common,browser}/**",
|
|
|
|
"**/vs/editor/{common,browser}/**",
|
2017-06-20 10:12:17 +00:00
|
|
|
"**/vs/editor/contrib/**",
|
2017-06-19 14:44:25 +00:00
|
|
|
"**/vs/editor/standalone/{common,browser}/**"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"target": "**/vs/editor/standalone/test/browser/**",
|
|
|
|
"restrictions": [
|
|
|
|
"assert",
|
|
|
|
"vs/nls",
|
|
|
|
"**/vs/base/{common,browser}/**",
|
|
|
|
"**/vs/platform/*/{common,browser}/**",
|
|
|
|
"**/vs/platform/*/test/{common,browser}/**",
|
|
|
|
"**/vs/editor/{common,browser}/**",
|
|
|
|
"**/vs/editor/standalone/{common,browser}/**",
|
|
|
|
"**/vs/editor/test/{common,browser}/**"
|
|
|
|
]
|
|
|
|
},
|
2017-06-19 09:59:16 +00:00
|
|
|
{
|
|
|
|
"target": "**/vs/editor/contrib/*/test/**",
|
|
|
|
"restrictions": [
|
|
|
|
"assert",
|
|
|
|
"vs/nls",
|
|
|
|
"**/vs/base/{common,browser}/**",
|
|
|
|
"**/vs/base/test/{common,browser}/**",
|
|
|
|
"**/vs/base/parts/*/{common,browser}/**",
|
|
|
|
"**/vs/platform/*/{common,browser}/**",
|
|
|
|
"**/vs/platform/*/test/{common,browser}/**",
|
|
|
|
"**/vs/editor/{common,browser}/**",
|
|
|
|
"**/vs/editor/test/{common,browser}/**",
|
|
|
|
"**/vs/editor/contrib/**"
|
|
|
|
]
|
|
|
|
},
|
2017-06-16 10:29:28 +00:00
|
|
|
{
|
|
|
|
"target": "**/vs/editor/contrib/**",
|
|
|
|
"restrictions": [
|
2017-06-16 10:53:55 +00:00
|
|
|
"vs/nls",
|
|
|
|
"vs/css!./**/*",
|
|
|
|
"**/vs/base/{common,browser}/**",
|
2017-06-19 09:18:40 +00:00
|
|
|
"**/vs/base/parts/*/{common,browser}/**",
|
2019-02-08 08:09:27 +00:00
|
|
|
"**/vs/platform/{common,browser}/**",
|
2017-06-19 09:00:23 +00:00
|
|
|
"**/vs/platform/*/{common,browser}/**",
|
2017-06-19 09:59:16 +00:00
|
|
|
"**/vs/editor/{common,browser}/**",
|
|
|
|
"**/vs/editor/contrib/**"
|
2017-06-16 10:29:28 +00:00
|
|
|
]
|
|
|
|
},
|
2017-06-19 10:24:31 +00:00
|
|
|
{
|
|
|
|
"target": "**/vs/workbench/common/**",
|
|
|
|
"restrictions": [
|
|
|
|
"vs/nls",
|
|
|
|
"**/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}/**",
|
2017-11-08 21:38:59 +00:00
|
|
|
"**/vs/editor/contrib/**", // editor/contrib is equivalent to /browser/ by convention
|
2017-06-19 10:24:31 +00:00
|
|
|
"**/vs/workbench/{common,browser}/**",
|
|
|
|
"**/vs/workbench/services/*/{common,browser}/**",
|
|
|
|
"assert"
|
|
|
|
]
|
|
|
|
},
|
2017-06-20 05:20:15 +00:00
|
|
|
{
|
2017-07-03 14:42:29 +00:00
|
|
|
"target": "**/vs/workbench/workbench.main.ts",
|
2017-06-20 05:20:15 +00:00
|
|
|
"restrictions": [
|
|
|
|
"**"
|
|
|
|
]
|
|
|
|
},
|
2019-03-19 14:38:02 +00:00
|
|
|
{
|
2019-03-19 15:50:01 +00:00
|
|
|
"target": "**/vs/workbench/api/common/**",
|
2019-03-19 14:38:02 +00:00
|
|
|
"restrictions": [
|
2019-04-10 08:26:31 +00:00
|
|
|
"vscode",
|
2019-03-19 16:36:49 +00:00
|
|
|
"vs/nls",
|
2019-03-19 14:38:02 +00:00
|
|
|
"**/vs/base/common/**",
|
|
|
|
"**/vs/platform/*/common/**",
|
|
|
|
"**/vs/editor/common/**",
|
|
|
|
"**/vs/editor/contrib/*/common/**",
|
|
|
|
"**/vs/workbench/api/common/**",
|
|
|
|
"**/vs/workbench/common/**",
|
|
|
|
"**/vs/workbench/services/*/common/**",
|
2019-03-19 15:50:01 +00:00
|
|
|
"**/vs/workbench/contrib/*/common/**"
|
2019-03-19 14:38:02 +00:00
|
|
|
]
|
|
|
|
},
|
2017-06-20 05:20:15 +00:00
|
|
|
{
|
|
|
|
"target": "**/vs/workbench/electron-browser/**",
|
|
|
|
"restrictions": [
|
|
|
|
"vs/nls",
|
|
|
|
"vs/css!./**/*",
|
|
|
|
"**/vs/base/{common,browser,node,electron-browser}/**",
|
|
|
|
"**/vs/base/parts/*/{common,browser,node,electron-browser}/**",
|
|
|
|
"**/vs/platform/*/{common,browser,node,electron-browser}/**",
|
|
|
|
"**/vs/editor/{common,browser,node,electron-browser}/**",
|
2017-11-08 21:38:59 +00:00
|
|
|
"**/vs/editor/contrib/**", // editor/contrib is equivalent to /browser/ by convention
|
2017-06-20 05:20:15 +00:00
|
|
|
"**/vs/workbench/{common,browser,node,electron-browser,api}/**",
|
|
|
|
"**/vs/workbench/services/*/{common,browser,node,electron-browser}/**",
|
|
|
|
"*" // node modules
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"target": "**/vs/workbench/services/**/test/**",
|
|
|
|
"restrictions": [
|
|
|
|
"vs/nls",
|
|
|
|
"vs/css!./**/*",
|
|
|
|
"**/vs/base/**",
|
|
|
|
"**/vs/platform/**",
|
|
|
|
"**/vs/editor/**",
|
2017-07-19 12:52:37 +00:00
|
|
|
"**/vs/workbench/{common,browser,node,electron-browser}/**",
|
2019-02-07 10:48:58 +00:00
|
|
|
"vs/workbench/contrib/files/common/editors/fileEditorInput",
|
2017-06-20 05:20:15 +00:00
|
|
|
"**/vs/workbench/services/**",
|
|
|
|
"**/vs/workbench/test/**",
|
|
|
|
"*" // node modules
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2017-10-18 09:28:42 +00:00
|
|
|
"target": "**/vs/workbench/services/**/common/**",
|
2017-06-20 05:20:15 +00:00
|
|
|
"restrictions": [
|
|
|
|
"vs/nls",
|
2017-10-18 09:28:42 +00:00
|
|
|
"**/vs/base/**/common/**",
|
|
|
|
"**/vs/platform/**/common/**",
|
|
|
|
"**/vs/editor/common/**",
|
|
|
|
"**/vs/workbench/common/**",
|
2019-04-12 10:14:34 +00:00
|
|
|
"**/vs/workbench/services/**/common/**",
|
|
|
|
"**/vs/workbench/api/**/common/**"
|
2017-10-18 09:28:42 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"target": "**/vs/workbench/services/**/browser/**",
|
|
|
|
"restrictions": [
|
|
|
|
"vs/nls",
|
|
|
|
"vs/css!./**/*",
|
|
|
|
"**/vs/base/**/{common,browser}/**",
|
|
|
|
"**/vs/platform/**/{common,browser}/**",
|
|
|
|
"**/vs/editor/{common,browser}/**",
|
|
|
|
"**/vs/workbench/{common,browser}/**",
|
2019-05-24 13:21:29 +00:00
|
|
|
"**/vs/workbench/services/**/{common,browser}/**",
|
|
|
|
"vscode-textmate",
|
|
|
|
"onigasm-umd"
|
2017-10-18 09:28:42 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"target": "**/vs/workbench/services/**/node/**",
|
|
|
|
"restrictions": [
|
|
|
|
"vs/nls",
|
|
|
|
"**/vs/base/**/{common,node}/**",
|
|
|
|
"**/vs/platform/**/{common,node}/**",
|
|
|
|
"**/vs/editor/{common,node}/**",
|
|
|
|
"**/vs/workbench/{common,node}/**",
|
2019-01-25 17:28:34 +00:00
|
|
|
"**/vs/workbench/api/{common,node}/**",
|
2017-10-18 09:28:42 +00:00
|
|
|
"**/vs/workbench/services/**/{common,node}/**",
|
|
|
|
"*" // node modules
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"target": "**/vs/workbench/services/**/electron-browser/**",
|
|
|
|
"restrictions": [
|
|
|
|
"vs/nls",
|
|
|
|
"vs/css!./**/*",
|
|
|
|
"**/vs/base/**/{common,browser,node,electron-browser}/**",
|
|
|
|
"**/vs/platform/**/{common,browser,node,electron-browser}/**",
|
2017-11-08 21:38:59 +00:00
|
|
|
"**/vs/editor/**",
|
2017-08-14 14:28:05 +00:00
|
|
|
"**/vs/workbench/{common,browser,node,electron-browser,api}/**",
|
2017-10-18 09:28:42 +00:00
|
|
|
"**/vs/workbench/services/**/{common,browser,node,electron-browser}/**",
|
2017-06-20 05:20:15 +00:00
|
|
|
"*" // node modules
|
|
|
|
]
|
|
|
|
},
|
2019-02-04 08:55:28 +00:00
|
|
|
{
|
2019-02-07 10:48:58 +00:00
|
|
|
"target": "**/vs/workbench/contrib/files/common/**",
|
2019-02-04 08:55:28 +00:00
|
|
|
"restrictions": [
|
|
|
|
"vs/nls",
|
|
|
|
"**/vs/base/common/**",
|
|
|
|
"**/vs/base/parts/*/common/**",
|
|
|
|
"**/vs/platform/*/common/**",
|
|
|
|
"**/vs/editor/common/**",
|
|
|
|
"**/vs/editor/contrib/*/common/**",
|
|
|
|
"**/vs/workbench/common/**",
|
|
|
|
"**/vs/workbench/services/*/common/**",
|
2019-02-07 10:48:58 +00:00
|
|
|
"**/vs/workbench/contrib/files/common/**",
|
2019-02-04 08:55:28 +00:00
|
|
|
"assert"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2019-02-07 10:48:58 +00:00
|
|
|
"target": "**/vs/workbench/contrib/files/browser/**",
|
2019-02-04 08:55:28 +00:00
|
|
|
"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/**", // editor/contrib is equivalent to /browser/ by convention
|
|
|
|
"**/vs/workbench/{common,browser}/**",
|
|
|
|
"**/vs/workbench/services/*/{common,browser}/**",
|
2019-02-07 10:48:58 +00:00
|
|
|
"**/vs/workbench/contrib/files/{common,browser}/**",
|
2019-02-04 08:55:28 +00:00
|
|
|
"assert"
|
|
|
|
]
|
|
|
|
},
|
2019-03-05 00:56:26 +00:00
|
|
|
{
|
|
|
|
"target": "**/vs/workbench/contrib/terminal/browser/**",
|
|
|
|
"restrictions": [
|
|
|
|
"vscode-xterm",
|
|
|
|
"**/vs/**"
|
|
|
|
]
|
|
|
|
},
|
2018-01-19 11:02:44 +00:00
|
|
|
{
|
2018-09-03 05:33:11 +00:00
|
|
|
"target": "**/vs/code/node/**",
|
2018-01-19 11:02:44 +00:00
|
|
|
"restrictions": [
|
|
|
|
"vs/nls",
|
2018-09-03 05:33:11 +00:00
|
|
|
"**/vs/base/**/{common,browser,node}/**",
|
|
|
|
"**/vs/base/parts/**/{common,browser,node}/**",
|
|
|
|
"**/vs/platform/**/{common,browser,node}/**",
|
|
|
|
"**/vs/code/**/{common,browser,node}/**",
|
2018-01-19 11:02:44 +00:00
|
|
|
"*" // node modules
|
|
|
|
]
|
|
|
|
},
|
2018-04-10 00:35:17 +00:00
|
|
|
{
|
|
|
|
"target": "**/vs/code/electron-browser/**",
|
2018-01-19 11:02:44 +00:00
|
|
|
"restrictions": [
|
|
|
|
"vs/nls",
|
|
|
|
"vs/css!./**/*",
|
2018-09-03 05:33:11 +00:00
|
|
|
"**/vs/base/**/{common,browser,node,electron-browser}/**",
|
|
|
|
"**/vs/base/parts/**/{common,browser,node,electron-browser}/**",
|
|
|
|
"**/vs/platform/**/{common,browser,node,electron-browser}/**",
|
|
|
|
"**/vs/code/**/{common,browser,node,electron-browser}/**",
|
2018-01-19 11:02:44 +00:00
|
|
|
"*" // node modules
|
|
|
|
]
|
|
|
|
},
|
2017-06-20 06:52:09 +00:00
|
|
|
{
|
2018-09-03 05:33:11 +00:00
|
|
|
"target": "**/vs/code/electron-main/**",
|
2017-06-20 06:52:09 +00:00
|
|
|
"restrictions": [
|
|
|
|
"vs/nls",
|
2018-09-03 05:33:11 +00:00
|
|
|
"**/vs/base/**/{common,browser,node}/**",
|
|
|
|
"**/vs/base/parts/**/{common,browser,node,electron-main}/**",
|
|
|
|
"**/vs/platform/**/{common,browser,node,electron-main}/**",
|
|
|
|
"**/vs/code/**/{common,browser,node,electron-main}/**",
|
2017-06-20 06:52:09 +00:00
|
|
|
"*" // node modules
|
|
|
|
]
|
|
|
|
},
|
2019-05-22 11:03:27 +00:00
|
|
|
{
|
|
|
|
"target": "**/vs/agent/**",
|
|
|
|
"restrictions": [
|
|
|
|
"vs/nls",
|
|
|
|
"**/vs/base/**/{common,node}/**",
|
|
|
|
"**/vs/base/parts/**/{common,node}/**",
|
|
|
|
"**/vs/platform/**/{common,node}/**",
|
|
|
|
"**/vs/workbench/**/{common,node}/**",
|
|
|
|
"**/vs/agent/**",
|
|
|
|
"**/vs/code/**/{common,node}/**",
|
|
|
|
"*" // node modules
|
|
|
|
]
|
|
|
|
},
|
2016-11-10 14:22:37 +00:00
|
|
|
{
|
2016-11-11 16:40:46 +00:00
|
|
|
"target": "**/{node,electron-browser,electron-main,extensions}/**",
|
2016-11-10 14:22:37 +00:00
|
|
|
"restrictions": "**/*"
|
|
|
|
},
|
2017-06-20 12:00:20 +00:00
|
|
|
{
|
|
|
|
"target": "**/test/smoke/**",
|
|
|
|
"restrictions": [
|
|
|
|
"**/test/smoke/**",
|
|
|
|
"*"
|
|
|
|
]
|
|
|
|
},
|
2018-04-04 14:04:36 +00:00
|
|
|
{
|
|
|
|
"target": "**/test/smoke2/**",
|
|
|
|
"restrictions": [
|
|
|
|
"**/test/smoke2/**",
|
|
|
|
"*"
|
|
|
|
]
|
|
|
|
},
|
2016-11-11 16:32:51 +00:00
|
|
|
{
|
2016-11-11 16:40:46 +00:00
|
|
|
"target": "{**/**.test.ts,**/test/**}",
|
2017-11-13 17:35:23 +00:00
|
|
|
"restrictions": "{**/vs/**,assert,sinon,crypto}"
|
2016-11-11 16:32:51 +00:00
|
|
|
},
|
2016-11-10 14:22:37 +00:00
|
|
|
{
|
|
|
|
"target": "**/{common,browser,workbench}/**",
|
2016-11-11 16:40:46 +00:00
|
|
|
"restrictions": "**/vs/**"
|
2016-11-10 14:22:37 +00:00
|
|
|
}
|
2016-11-11 16:01:55 +00:00
|
|
|
],
|
2017-03-21 10:28:58 +00:00
|
|
|
"duplicate-imports": true,
|
2018-10-25 17:04:46 +00:00
|
|
|
"no-new-buffer": true,
|
2018-05-31 09:25:26 +00:00
|
|
|
"translation-remind": true,
|
2019-03-25 11:41:16 +00:00
|
|
|
"no-standalone-editor": true,
|
2019-03-25 14:30:09 +00:00
|
|
|
"no-nls-in-standalone-editor": true
|
2017-11-07 10:53:59 +00:00
|
|
|
},
|
|
|
|
"defaultSeverity": "warning"
|
2019-05-27 14:30:53 +00:00
|
|
|
}
|