mirror of
https://github.com/vacp2p/linea-monorepo.git
synced 2026-01-08 15:13:50 -05:00
* add poc husky lint script * test commit change * undo test change * test change * undo test change * test * test * test * test * do * test * test * test * test * test * test * test * test * test * test * refactor to pre-commit to NodeJS script * add logs for demo * small refactor of pre-commit.js * add shebang to pre-commit * add other folders to husky script * added postman to pre-commit * remove test md change * add comments for pre-commit.js * adjust lint:fix scripts * Update .husky/pre-commit.js Co-authored-by: The Dark Jester <thedarkjester@users.noreply.github.com> Signed-off-by: kyzooghost <73516204+kyzooghost@users.noreply.github.com> --------- Signed-off-by: kyzooghost <73516204+kyzooghost@users.noreply.github.com> Co-authored-by: The Dark Jester <thedarkjester@users.noreply.github.com>
10 lines
305 B
Bash
Executable File
10 lines
305 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Run `npx husky` in root directory to initialize this pre-commit hook for local machine
|
|
|
|
# Execute NodeJS script because
|
|
# i.) Husky requires NodeJS -> fair assumption that machine will have NodeJS
|
|
# ii.) Cleaner syntax and abstractions than shell scripting
|
|
node .husky/pre-commit.js
|
|
|
|
exit 0 |