Link to the eslint rule for radix in parseInt

This commit is contained in:
Matija Marohnić
2016-01-07 00:19:06 +01:00
parent ed1f484e1f
commit 557b4dacd7

View File

@@ -1908,6 +1908,8 @@ Other Style Guides
- [21.3](#21.3) <a name='21.3'></a> Numbers: Use `Number` for type casting and `parseInt` always with a radix for parsing strings.
eslint rules: [`radix`](http://eslint.org/docs/rules/radix).
```javascript
const inputValue = '4';