- Disallow magic numbers
The no-magic-numbers rule aims to make code more readable and refactoring easier by ensuring that special numbers are declared as constants to make their meaning explicit.
Detects numbers when setting object properties.
Checks for the const keyword in variable declaration of numbers.
Ignores numbers used as array indexes.
You can check them out here.