eslint - add a few more for no-restricted-globals rule

This commit is contained in:
Benjamin Pasero 2020-01-06 15:16:17 +01:00
parent 5418a56423
commit 2c92f67ec5

View file

@ -26,7 +26,7 @@
"no-throw-literal": "warn",
"no-unsafe-finally": "warn",
"no-unused-labels": "warn",
"no-restricted-globals": ["warn", "name", "length", "event", "closed", "external", "status"], // non-complete list of globals that are easy to access unintentionally
"no-restricted-globals": ["warn", "name", "length", "event", "closed", "external", "status", "origin", "orientation"], // non-complete list of globals that are easy to access unintentionally
"no-var": "warn",
"jsdoc/no-types": "warn",
"semi": "off",