chore: add common configuration for the project

Set `editorconfig` pattern and files/paths to be ignored by `git` and
`docker`.

Finally, define runtimes needed by the project using `mise`.
This commit is contained in:
João Paulo Dubas 2025-03-07 13:58:33 +00:00
parent cb46478b0e
commit 1ad7e94ea1
Signed by: joao.dubas
SSH Key Fingerprint: SHA256:V1mixgOGRc/YMhGx/DNkOSmJxgA2vHNrDZEk3wt/kOA
4 changed files with 48 additions and 0 deletions

2
.dockerignore Normal file
View File

@ -0,0 +1,2 @@
**/node_modules
**/.next

41
.editorconfig Normal file
View File

@ -0,0 +1,41 @@
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
indent_size = 2
[*.{ts,tsx,js,jsx,json}]
indent_style = space
indent_size = 2
[*.md]
trim_trailing_whitespace = false
indent_size = 2
[{Dockerfile,docker-compose.yml,docker-compose.*.yml,compose.yml,compose.*.yml}]
indent_style = space
indent_size = 2
[*.{yml,yaml}]
indent_style = space
indent_size = 2
[*.sh]
end_of_line = lf
indent_style = space
indent_size = 2
[package.json]
indent_style = space
indent_size = 2
[*.{xml,config,conf}]
indent_style = space
indent_size = 2
[Makefile]
indent_style = tab

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
**/node_modules
**/.next

3
mise.toml Normal file
View File

@ -0,0 +1,3 @@
[tools]
node = "18.20.7"
yarn = "1.22.22"