Skip to content

Commit c4c724c

Browse files
committed
Merge pull request airbnb#663 from silvenon/patch-1
[guide] Link to the eslint rule for radix in parseInt
2 parents ed1f484 + 557b4da commit c4c724c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1908,6 +1908,8 @@ Other Style Guides
19081908
19091909
- [21.3](#21.3) <a name='21.3'></a> Numbers: Use `Number` for type casting and `parseInt` always with a radix for parsing strings.
19101910
1911+
eslint rules: [`radix`](http://eslint.org/docs/rules/radix).
1912+
19111913
```javascript
19121914
const inputValue = '4';
19131915

0 commit comments

Comments
 (0)