DevTools/CodingStandards: Difference between revisions

Jump to navigation Jump to search
added code formatting to use strict
(updated coding style section)
(added code formatting to use strict)
Line 38: Line 38:
* aim for short functions, 24 lines max (ESLint has a rule that checks for function complexity too),
* aim for short functions, 24 lines max (ESLint has a rule that checks for function complexity too),
* aArguments aAre the aDevil (don't use them please),
* aArguments aAre the aDevil (don't use them please),
* "use strict"; globally per module,
* <code>"use strict";</code> globally per module,
* <code>semicolons; // use them</code>,
* <code>semicolons; // use them</code>,
* no comma-first,
* no comma-first,
130

edits

Navigation menu