... | ... | @@ -197,7 +197,17 @@ func NewSubnet(id int64, prefix string) (*Subnet, error) |
|
|
|
|
|
# TypeScript Style
|
|
|
|
|
|
Used by UI. Details TBD
|
|
|
## Indentation
|
|
|
|
|
|
We use four spaces for the indentation in the Typescript code.
|
|
|
|
|
|
## Formatting
|
|
|
|
|
|
Stork build system provides the `rake fmt:ui` command to format the Typescript code automatically. You SHOULD run this command to ensure the code adheres to the formatting style. In addition, you SHOULD run the `rake lint:ui` command checking that the code passes the linter checks. The code having any formatting or linter issues cannot be merged.
|
|
|
|
|
|
## Use of any
|
|
|
|
|
|
TBD
|
|
|
|
|
|
# HTML & CSS Style
|
|
|
|
... | ... | |