-
Notifications
You must be signed in to change notification settings - Fork 16
Coding Style
JinGyeong Jeong edited this page Jun 28, 2018
·
1 revision
- Refer to
tsconfig.json
andtslint.json
- Use snake_case for non-class component file (e.g.
client/components/BlockDetails.tsx
) - Use the class name for class component file (e.g.
client/index.ts
)
- EditorConfig for VS Code
- TSLint
- install tsfmt
yarn global add typescript-formatter tslint
- run tsfmt on the root directory
tsfmt -r