chore: add configs

Signed-off-by: Matej Focko <mfocko@redhat.com>
This commit is contained in:
Matej Focko 2022-05-01 17:05:35 +02:00
parent f5c746b783
commit d86301c8c1
Signed by: mfocko
GPG key ID: 7C47D46246790496
2 changed files with 18 additions and 0 deletions

4
.editorconfig Normal file
View file

@ -0,0 +1,4 @@
[*.js]
indent_style = space
indent_size = 4
semicolons = true

14
.pre-commit-config.yaml Normal file
View file

@ -0,0 +1,14 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.6.2
hooks:
- id: prettier