1.0.2-0 • Published 7 years ago
eslint-plugin-no-lenght v1.0.2-0
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"
]
}