mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-14 01:25:37 -05:00
Enable layering rules (#6556)
* enable layering tslint rules * add comment
This commit is contained in:
23
tslint.json
23
tslint.json
@@ -35,6 +35,29 @@
|
||||
"messageIndex": 1
|
||||
}
|
||||
],
|
||||
"layering": [
|
||||
true,
|
||||
{
|
||||
"common": [
|
||||
"browser" // {{SQL CARBON EDIT}} @anthonydresser not ideal, but for our purposes its fine for now
|
||||
],
|
||||
"node": [
|
||||
"common"
|
||||
],
|
||||
"browser": [
|
||||
"common"
|
||||
],
|
||||
"electron-main": [
|
||||
"common",
|
||||
"node"
|
||||
],
|
||||
"electron-browser": [
|
||||
"common",
|
||||
"browser",
|
||||
"node"
|
||||
]
|
||||
}
|
||||
],
|
||||
// {{SQL CARBON EDIT}} @anthonydresser for the most part these rules should be the same as vscode with some changes
|
||||
// anything that references **/vs/** should references **/{vs,sql}/** instead
|
||||
// @angular/* and rxjs/* are added to browser and electron-browser restrictions since * doesn't cover them
|
||||
|
||||
Reference in New Issue
Block a user