forked from keep-network/keep-ecdsa
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
25 lines (25 loc) · 817 Bytes
/
.pre-commit-config.yaml
File metadata and controls
25 lines (25 loc) · 817 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
repos:
- repo: https://github.com/keep-network/pre-commit-golang.git
rev: 4cc73f21101f9da1208719b02bbbe0a4c491497e
hooks:
- id: go-imports
- id: go-vet
- id: go-lint
- repo: https://github.com/keep-network/pre-commit-hooks.git
rev: 63e729f
hooks:
- id: check-added-large-files
- repo: local
hooks:
- id: lint-js
name: 'lint js'
entry: /usr/bin/env bash -c "cd solidity && npm run lint:js"
files: '\.js$'
language: script
description: "Checks JS code according to the package's linter configuration"
- id: lint-sol
name: 'lint solidity'
entry: /usr/bin/env bash -c "cd solidity && npm run lint:sol"
files: '\.sol$'
language: script
description: "Checks Solidity code according to the package's linter configuration"