mirror of
https://github.com/mtkennerly/dunamai-action.git
synced 2025-06-20 22:31:08 +00:00
Update @actions/core for set-env deprecation and add pre-commit config
This commit is contained in:
parent
2ffd60cf4c
commit
f33a36717a
7 changed files with 125 additions and 26 deletions
19
.pre-commit-config.yaml
Normal file
19
.pre-commit-config.yaml
Normal file
|
@ -0,0 +1,19 @@
|
|||
exclude: public
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v2.1.0
|
||||
hooks:
|
||||
- id: trailing-whitespace
|
||||
- id: end-of-file-fixer
|
||||
- repo: https://github.com/Lucas-C/pre-commit-hooks
|
||||
rev: v1.1.6
|
||||
hooks:
|
||||
- id: forbid-tabs
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: build
|
||||
name: build
|
||||
language: system
|
||||
entry: npm run build
|
||||
pass_filenames: false
|
||||
files: '(\.(tsx?|jsx?)$|^package.json$|^tsconfig.json$)'
|
Loading…
Add table
Add a link
Reference in a new issue