„Development“ ändern
parent
9dd194ff50
commit
7d614ff897
|
@ -28,17 +28,17 @@ We try to keep it simple, as such we enforce using following code styles:
|
|||
When writing python we follow `PEP-8`, more precisely we are using [black](https://black.readthedocs.io/en/stable/) with a line length of 120 characters.
|
||||
|
||||
#### ECMAScript / TypeScript
|
||||
We follow the presets of `prettier` version `2.3.0` with this exceptions:
|
||||
We follow the presets of `prettier` version `2.4` with this exceptions:
|
||||
* You should use single quotes
|
||||
* Print semicolons at the ends of statements
|
||||
* Line length is 120 characters
|
||||
* Line length is 100 characters
|
||||
* Allways use parens for arrow functions, e.g. `(x) => fo`
|
||||
|
||||
```json
|
||||
"prettier": {
|
||||
"singleQuote": true,
|
||||
"semi": true,
|
||||
"printWidth": 120,
|
||||
"printWidth": 100,
|
||||
"arrowParens": "always"
|
||||
}
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue