November Perfect Moustache

    eslint-config-restricted-globals

    0.1.0 • Public • Published

    eslint-config-restricted-globals

    Restrict global variables to prevent accidental global access. Based on this TypeScript issue.

    Installation

    npm install --save-dev eslint-config-restricted-globals
    

    Usage

    Place this config inside the extends section of your eslint config file.

    {
      "extends": [
        ...
        # alternatively you can omit eslint-config- and just place "restricted-globals"
        "eslint-config-restricted-globals",
        ...
      ]
    }

    References

    Based on this comment from @jahooma.

    Install

    npm i eslint-config-restricted-globals

    DownloadsWeekly Downloads

    3

    Version

    0.1.0

    License

    MIT

    Unpacked Size

    5.08 kB

    Total Files

    3

    Last publish

    Collaborators

    • jsmith21