mirror of
https://github.com/Alfresco/alfresco-transform-core.git
synced 2025-08-14 17:58:27 +00:00
Add pre-commit to check syntax
This commit is contained in:
16
.pre-commit-config.yaml
Normal file
16
.pre-commit-config.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v4.1.0
|
||||
hooks:
|
||||
- id: check-json
|
||||
- id: check-xml
|
||||
- id: check-merge-conflict
|
||||
- id: fix-byte-order-marker
|
||||
- id: mixed-line-ending
|
||||
args: ['--fix=lf']
|
||||
- id: end-of-file-fixer
|
||||
- repo: https://github.com/sirosen/check-jsonschema
|
||||
rev: 0.13.0
|
||||
hooks:
|
||||
- id: check-travis
|
||||
- id: check-github-workflows
|
@@ -1,4 +1,6 @@
|
||||
---
|
||||
import:
|
||||
- source: Alfresco/alfresco-build-tools:.travis.pre-commit.yml@v1.1.9
|
||||
|
||||
language: java
|
||||
jdk: openjdk11
|
||||
os: linux
|
||||
|
Reference in New Issue
Block a user