Add code styleguide split into general, Go, JS, and Python files
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
# JavaScript / ECMAScript / ES6
|
||||
|
||||
1. Use `const` for everything. If you need to reassign, use `let`. Never use
|
||||
`var`.
|
||||
|
||||
1. Use yarn for package management, avoid using npm.
|
||||
|
||||
1. Use LTS node versions.
|
||||
|
||||
1. Use `prettier` for code formatting, with four spaces for indentation.
|
||||
|
||||
1. At a minimum, `npm run test` and `npm run build` should work (complete the
|
||||
appropriate scripts in `package.json`). The `Makefile` should call these, do
|
||||
not duplicate the scripts in the `Makefile`.
|
||||
|
||||
# Author
|
||||
|
||||
[@sneak](https://sneak.berlin)
|
||||
<[sneak@sneak.berlin](mailto:sneak@sneak.berlin)>
|
||||
|
||||
# License
|
||||
|
||||
MIT. See [LICENSE](../LICENSE).
|
||||
Reference in New Issue
Block a user