This website works better with JavaScript.
THIS GITEA INSTANCE IS DEPRECATED, SIGN UP AT
Pixietown
INSTEAD
Home
Explore
Help
Sign In
f0x
/
matrix-appservice-irc
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
10
Wiki
Activity
Browse Source
Add pre-commit hook to fix eslint errors
tags/0.7.1^2
Kegan Dougal
4 years ago
parent
5738507f3b
commit
468647fd92
2 changed files
with
6 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-0
hooks/install.sh
+1
-0
hooks/pre-commit
+ 5
- 0
hooks/install.sh
View File
@@ -0,0 +1,5 @@
#! /bin/bash
DOT_GIT="$(dirname $0)/../.git"
ln -s "../../hooks/pre-commit" "$DOT_GIT/hooks/pre-commit"
+ 1
- 0
hooks/pre-commit
View File
@@ -0,0 +1 @@
./node_modules/.bin/eslint --fix lib spec
Write
Preview
Loading…
Cancel
Save