diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 000000000..e64fad2bc --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,11 @@ +repos: + - repo: https://github.com/pre-commit/mirrors-eslint + rev: 'v8.11.0' # Use the sha / tag you want to point at + hooks: + - id: eslint + # files: \.[jt]sx?$ # *.js, *.jsx, *.ts and *.tsx + # types: [file] + - repo: https://github.com/pre-commit/mirrors-prettier + rev: 'v2.5.1' # Use the sha / tag you want to point at + hooks: + - id: prettier