chore: add missing .eslintrc.json files to limit imports properly (#35719)

This commit is contained in:
Milan Burda 2022-09-20 20:25:33 +02:00 committed by GitHub
parent b1d7b30ca3
commit 99f4a42d41
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 100 additions and 4 deletions

View file

@ -0,0 +1,18 @@
{
"rules": {
"no-restricted-imports": [
"error",
{
"paths": [
"electron",
"electron/main"
],
"patterns": [
"./*",
"../*",
"@electron/internal/browser/*"
]
}
]
}
}