Mercurial > prosody-hg
comparison doc/coding_style.md @ 11727:f3aee8a825cc
Fix various spelling errors (thanks codespell)
Also special thanks to timeless, for wordlessly reminding me to check
for typos.
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Tue, 27 Jul 2021 00:13:18 +0200 |
| parents | d9aae4734f38 |
| children | 05c250fa335a |
comparison
equal
deleted
inserted
replaced
| 11726:76156c675456 | 11727:f3aee8a825cc |
|---|---|
| 765 [Busted](http://olivinelabs.com/busted/) for testing. | 765 [Busted](http://olivinelabs.com/busted/) for testing. |
| 766 | 766 |
| 767 ## Static checking | 767 ## Static checking |
| 768 | 768 |
| 769 All code should pass [luacheck](https://github.com/mpeterv/luacheck) using | 769 All code should pass [luacheck](https://github.com/mpeterv/luacheck) using |
| 770 the `.luacheckrc` provided in the Prosody repository, and using miminal | 770 the `.luacheckrc` provided in the Prosody repository, and using minimal |
| 771 inline exceptions. | 771 inline exceptions. |
| 772 | 772 |
| 773 * luacheck warnings of class 211, 212, 213 (unused variable, argument or loop | 773 * luacheck warnings of class 211, 212, 213 (unused variable, argument or loop |
| 774 variable) may be ignored, if the unused variable was added explicitly: for | 774 variable) may be ignored, if the unused variable was added explicitly: for |
| 775 example, sometimes it is useful, for code understandability, to spell out what | 775 example, sometimes it is useful, for code understandability, to spell out what |
