Skip to content

Commit

Permalink
Update 'Whitespace' section
Browse files Browse the repository at this point in the history
Add mention of editorconfig files to help ensure whitespace is consistent
  • Loading branch information
romaricpascal committed Aug 22, 2024
1 parent ea90e64 commit 22fc148
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions source/manuals/programming-languages/js.html.md.erb
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,12 @@ Each of the tools previously listed has plugin to help integrate with editors:

Use soft tabs with a two space indent.

If you're using [Prettier](#prettier), this will be set up for you. Otherwise, you may want to configure a [`.editorconfig` file][editorconfig] accordingly.

**Why:** This follows the conventions used within our other projects.

[editorconfig]: https://editorconfig.org/

## Naming conventions

* Avoid single letter names. Be descriptive with your naming.
Expand Down

0 comments on commit 22fc148

Please sign in to comment.