Skip to content

Commit

Permalink
doc: add missing anchor in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
vsemozhetbyt committed Jun 8, 2018
1 parent 74fb34f commit 103f5e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1743,6 +1743,7 @@ Other Style Guides
const foo = 'superLongLongLongLongLongLongLongLongString';
```

<a name="variables--no-unused-vars"></a>
- [13.8](#variables--no-unused-vars) Disallow unused variables. eslint: [`no-unused-vars`](https://eslint.org/docs/rules/no-unused-vars)

> Why? Variables that are declared and not used anywhere in the code are most likely an error due to incomplete refactoring. Such variables take up space in the code and can lead to confusion by readers.
Expand Down

0 comments on commit 103f5e2

Please sign in to comment.