Skip to content

Commit c61de76

Browse files
committed
#5 [add] identation
1 parent bc61126 commit c61de76

File tree

1 file changed

+53
-6
lines changed

1 file changed

+53
-6
lines changed

translations/pt_BR/README.md

Lines changed: 53 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,67 @@
99

1010
## Sumário
1111

12-
* 1. [Commits](#commits)
13-
* 2. [HTML](#html)
12+
* 1. [Global](#global)
13+
* 1.1 [Identação](#identação)
14+
* 2. [Commits](#commits)
15+
* 2.1 [Em inglês]()
16+
* 2.2 [Número da tarefa]()
17+
* 2.3 [Status]()
18+
* 2.4 [Convenção da mensagem]()
19+
* 3. [HTML](#html)
20+
* 3.1 [Commentários](#comentarios)
21+
* 4. [CSS](#css)
22+
* 5. [SCSS](#scss)
23+
* 6. [JavaScript](#javascript)
24+
25+
### Global
26+
27+
#### Identação
28+
29+
O estilo de identação é usando espaços e o tamanho da identação é 2.
30+
31+
```html
32+
<!-- Good -->
33+
<section>
34+
<h3 class="title"></h3>
35+
<p class="text"></p>
36+
</section>
37+
38+
<!-- Bad -->
39+
<section>
40+
<h3 class="title"></h3>
41+
<p class="text"></p>
42+
</section>
43+
```
44+
45+
Exemplo do arquivo de configuração (.editorconfig):
46+
47+
```bash
48+
root = true
49+
50+
[*]
51+
indent_style = space
52+
indent_size = 2
53+
end_of_line = lf
54+
charset = utf-8
55+
trim_trailing_whitespace = true
56+
insert_final_newline = true
57+
58+
[*.md]
59+
trim_trailing_whitespace = false
60+
```
1461

1562
### Commits
1663

17-
#### 1. Em inglês
64+
#### Em inglês
1865

1966
Para a contribuiição em projetos, a mensagem do **commit**, título do **pull request** e a **issue**, devem ser escritos em inglês.
2067

21-
#### 2. Número da tarefa
68+
#### Número da tarefa
2269

2370
Tendo uma `issue` ou uma tarefa no Trello, Jira ou outro software de gerenciamento de tarefas para 1 ou mais commits, informar no começo da mensagem do mesmo.
2471

25-
#### 3. Status
72+
#### Status
2673

2774
Para facilitar, a mensagem deverá ter os seguintes status:
2875

@@ -33,7 +80,7 @@ Para facilitar, a mensagem deverá ter os seguintes status:
3380

3481
O `status` será informado na mensagem entre colchetes. E poderá ser interpretado como status de um arquivo ou trecho de código.
3582

36-
#### 4. Convenção
83+
#### Convenção da mensagem
3784

3885
Usar letras minúsculas
3986

0 commit comments

Comments
 (0)