eslint - add a few more for no-restricted-globals rule
This commit is contained in:
parent
5418a56423
commit
2c92f67ec5
1 changed files with 1 additions and 1 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue