Skip to content

Remove window global whitelist where possible #23

@ypresto

Description

@ypresto

Too many white list should be defined:
https://developer.mozilla.org/en-US/docs/Web/API

We encourage to assign necessary modules at the top of the script, like:

const {File, FileReader, URL} = window

This follows standardjs.com rule about window globals.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions