1.0.2 • Published 8 years ago

eslint-plugin-no-null v1.0.2

Weekly downloads
40,334
License
MIT
Repository
github
Last release
8 years ago

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
  }
}
1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago