Compare commits

...

4 Commits

Author SHA1 Message Date
Echedelle López Romero 449750aefc Merge pull request 'Aminda's special suggestions' (#1) from Mikaela/masfloss-web:aminda into main
Reviewed-on: #1
2023-09-01 15:08:28 +00:00
Aminda Suomalainen ec1efab5e0
pre-commit run --all-files 2023-09-01 16:09:18 +03:00
Aminda Suomalainen 1a2e8ff659
add .editorconfig & .pre-commit-config.yaml 2023-09-01 16:08:37 +03:00
Aminda Suomalainen d59ddc290f
add .gitattributes 2023-09-01 16:05:56 +03:00
8 changed files with 40 additions and 6 deletions

11
.editorconfig Normal file
View File

@ -0,0 +1,11 @@
# See https://editorconfig.org for more information
root = true
[*]
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
charset = utf-8
[*.{markdown,md}]
trim_trailing_whitespace = false

1
.gitattributes vendored Normal file
View File

@ -0,0 +1 @@
* text=auto eol=lf

22
.pre-commit-config.yaml Normal file
View File

@ -0,0 +1,22 @@
# See https://pre-commit.com for more information
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-added-large-files
- id: check-case-conflict
- id: check-yaml
- id: check-executables-have-shebangs
- id: check-shebang-scripts-are-executable
- id: destroyed-symlinks
- id: detect-private-key
- id: end-of-file-fixer
- id: fix-byte-order-marker
- id: trailing-whitespace
exclude_types: [markdown]
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
rev: "2.7.2"
hooks:
- id: editorconfig-checker
alias: ec