mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-09-27 10:53:50 +02:00
* Fix typos in source, tests, and docs * Fix introduction guide typos
7 lines
535 B
Markdown
7 lines
535 B
Markdown
- Prefer functions declared using const, not using the function keyword
|
|
- Code style is tab indent with semicolons
|
|
- Mediabunny core code is contained in src/, extensions are in packages/*/, website is in docs/
|
|
- Tests: Prefer fewer, longer test files over many small ones. Test files should be named after the general category of thing that is being tested, not after any individual single test.
|
|
- Avoid ifs without a {} block. So no if (cond) return;, always do if (cond) { return; }
|
|
- `type` instead of `interface` for object types
|