eslint-plugin-use-strict

1.0.2 • Public • Published

eslint-plugin-use-strict

Enforcing the use of strict mode in JS, one rule at a time.

The plugin will add it for you if it isn't there already.

How to enable

// .eslintrc
{
    "plugins" : ["use-strict"],
    "rules" : {
        "use-strict/use-strict-at-top-of-document" : "error"
    }
}

/eslint-plugin-use-strict/

    Package Sidebar

    Install

    npm i eslint-plugin-use-strict

    Weekly Downloads

    5

    Version

    1.0.2

    License

    ISC

    Unpacked Size

    2.78 kB

    Total Files

    4

    Last publish

    Collaborators

    • hjhopp