Underscore should be used for filenames.
Example:
my_file.ts
TODO comments should usually include an issue.
Example:
// TODO: (#12) Add new functionnality
TypeScript should be used instead of JavaScript
Unit tests should be written as follows:
Deno.test("[<scope>] <description>", () => {
// Test content
})
Please document your code with JSDoc
Top level functions should use the function
keyword. Arrow syntax should be limited to closures.
- Should be pascal case
- Should not end with
impl
or any other word wich describes a specific implementation of an interface
- Follow the same rules as Classes
- Should not have
I
orInterface
in the name or any other way of identifying it as an interface
- Should be camel case