habitica/website/server
Matteo Pagliazzi 0280513a00
improvements to apidocs comments (#11832)
* make corrections and improvements to apidocs (no code changes)

* make further minor tweaks to apidocs that were previously changed

* make one extra small change for consistency

* fix lines that are too long

Each line was fixed by one of these:
- changing the wording
- breaking into separate lines
- adding eslint-disable-line max-len (necessary for `@api ` lines because
a line break there causes the first part of the text to not be displayed
on the apidocs website)

* apply eslint-disable max-len around block comments that need to have a long line

The `@api ` lines can't have a line break in them because it would
cause the first part of the text to not be displayed on the apidocs
website.

Using `// eslint-disable-line max-len` at the end of an `@api `
line doesn't work, possibly because it's nesting a comment inside
a multi-line comment.

The only way I've found to ignore the `max-len` rule is to put
disable and enable comments around the whole comment block.
2020-02-24 21:22:29 +01:00
..
controllers improvements to apidocs comments (#11832) 2020-02-24 21:22:29 +01:00
libs Prevent server from cancelling still active subs (#11795) 2020-02-11 12:58:11 -06:00
middlewares Fix Typos (#11644) 2019-12-23 17:52:55 +01:00
models Merge branch 'release' into develop 2020-02-18 14:15:21 -06:00
.eslintrc.js misc, fix client tests 2019-10-15 15:32:53 +02:00
api-doc.js start upgrading eslint 2019-10-08 16:57:10 +02:00
index.js misc, fix client tests 2019-10-15 15:32:53 +02:00
server.js start upgrading eslint 2019-10-08 16:57:10 +02:00