Merge pull request #663 from silvenon/patch-1

[guide] Link to the eslint rule for radix in parseInt
This commit is contained in:
Jordan Harband
2016-01-06 15:22:11 -08:00

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';