Skip to content

Commit 63b46b5

Browse files
committed
Mention buddy.js and ESLint for magic numbers
1 parent bd5d9ef commit 63b46b5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,10 @@ getUser();
7272
We will read more code than we will ever write. It's important that the code we
7373
do write is readable and searchable. By *not* naming variables that end up
7474
being meaningful for understanding our program, we hurt our readers.
75-
Make your names searchable.
75+
Make your names searchable. Tools like
76+
[buddy.js](https://github.com/danielstjules/buddy.js) and
77+
[ESLint](https://github.com/eslint/eslint/blob/660e0918933e6e7fede26bc675a0763a6b357c94/docs/rules/no-magic-numbers.md)
78+
can help identify unnamed constants.
7679

7780
**Bad:**
7881
```javascript

0 commit comments

Comments
 (0)