1.0.2-0 • Published 7 years ago

eslint-plugin-no-lenght v1.0.2-0

Weekly downloads
10
License
ISC
Repository
github
Last release
7 years ago

Ensures length is properly typed (no-lenght)

This rule was created to prevent mistyping the length property.

Rule Details

Examples of incorrect code for this rule:

someObj.lenght

Examples of correct code for this rule:

someObj.length

How add rule

.eslintrc example

{
  "rules": {
    "no-lenght/no-lenght": "error" // error, warn
  },
  "plugins": [
    "no-lenght"
  ]
}