This is the home of the Spil Games JavaScript Style Guide, and related content.
The goals of this repository:
- Clear overview of rules
- Commonly-agreed upon standards
- Living document
- Introduce & document tools, such as:
- Style checker
- Verify if code adheres to style guide
- Runs via command line + integrated in build process
- Runs in editor (SublimeText, etc.)
- Provide
.editorconfig
(see editorconfig.org) - Style fixer: Automatically fix code (e.g., via CodePainter)
- Style checker
A lot of content in this repository originated from the following sources: