Nondeterministic Postrequisite Metaprotocol

    eslint-plugin-no-null

    1.0.2 • Public • Published

    eslint-plugin-no-null

    ESLint rule to disallow null literals, to encourage using undefined instead.

    Installation

    After having installed ESLint, install the rule:

    $ npm install eslint-plugin-no-null --save-dev

    Configuration

    Add no-null to your .eslintrc:

    {
      "plugins": [
        "no-null"
      ],
      "rules": {
        "no-null/no-null": 2
      }
    }

    Install

    npm i eslint-plugin-no-null

    DownloadsWeekly Downloads

    69,739

    Version

    1.0.2

    License

    MIT

    Last publish

    Collaborators

    • nene