fix: use inherits-browser

+ add lint rule to verify it
This commit is contained in:
Nico Rehwaldt 2022-05-25 08:19:33 +02:00 committed by fake-join[bot]
parent bd5b5d05e6
commit cd58925a9d
1 changed files with 6 additions and 0 deletions

View File

@ -3,6 +3,12 @@
"env": {
"browser": true
},
"rules": {
"no-restricted-imports": [ "error", {
"name": "inherits",
"message": "Use inherits-browser instead"
} ]
},
"globals": {
"Promise": true
}