-
Notifications
You must be signed in to change notification settings - Fork 17
Coding Style
JinGyeong Jeong edited this page Jun 28, 2018
·
10 revisions
- Refer to
tsconfig.jsonandtslint.json
- Use snake_case for non-class component file (e.g.
src/utils.ts) - Use the class name for class component file (e.g.
src/primitives/Block.ts)
- Use
exportonly. Do not useexport default
- EditorConfig for VS Code
- TSLint
- install tsfmt:
yarn global add typescript-formatter tslint - run:
tsfmt -ron the root directory