eslint-plugin-no-lenght
v1.0.2-0
Published
eslint rule to prevent mistyping length
Downloads
243
Readme
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"
]
}