mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-25 09:57:32 +09:00
Fix unsafe "instanceof" negations
https://github.com/MoonchildProductions/Pale-Moon/pull/1173
This commit is contained in:
parent
a073130d31
commit
b56d147095
17 changed files with 19 additions and 28 deletions
|
|
@ -7,6 +7,9 @@ module.exports = {
|
|||
],
|
||||
"rules": {
|
||||
"mozilla/import-globals": "warn",
|
||||
|
||||
// No (!foo in bar) or (!object instanceof Class)
|
||||
"no-unsafe-negation": "error",
|
||||
},
|
||||
"env": {
|
||||
"es6": true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue