Some languages make you feel clever. Elixir makes you feel like the codebase might survive you.
case result do
{:ok, user} -> {:ok, user.email}
| ## 安裝語系檔 | |
| `$ sudo locale-gen "en_US.UTF-8"` | |
| ## 重新設定語系檔 | |
| `$ sudo dpkg-reconfigure locales` | |
| ## 設定檔 |
| root = true | |
| [*] | |
| indent_size = 2 | |
| indent_style = space | |
| end_of_line = lf | |
| charset = utf-8 | |
| trim_trailing_whitespace = true | |
| insert_final_newline = true |
| { | |
| "defaultSeverity": "warning", | |
| "extends": [ | |
| "tslint-config-airbnb", | |
| "tslint-config-prettier" | |
| ] | |
| } |
| # dependencies | |
| package.json | |
| # linters config | |
| .eslintrc | |
| tslint.json | |
| # typescript config | |
| client/tsconfig.json | |
| server/tsconfig.json |
| { | |
| "bracketSpacing": true, | |
| "printWidth": 80, | |
| "semi": true, | |
| "singleQuote": true, | |
| "tabWidth": 2, | |
| "trailingComma": "all", | |
| "useTabs": false | |
| } |