Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add lint rule to prevent usage of browser only global objects #60

@gheoan

Description

@gheoan

I'm submitting a feature request

  • Language:
    all

Current behavior:
Browser global objects can be used.

Expected/desired behavior:

  • What is the expected behavior?
    Using browser global objects should result in a lint warning. This warning can optionally recommend using aurelia-pal.

This needs to be implemented for both eslint and tslint.
An exception to this rule should be added to the pal library.

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