Enable layering rules (#6556)

* enable layering tslint rules

* add comment
This commit is contained in:
Anthony Dresser
2019-08-01 11:51:08 -07:00
committed by GitHub
parent a4134daa3e
commit 08e480cc46

View File

@@ -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