This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| TEMPDIR=`mktemp -d` | |
| ESLINTRC=$TEMPDIR/.eslintrc | |
| COMMAND="eslint --color -c $ESLINTRC --rule 'import/no-unresolved: 0' --rule 'import/no-duplicates: 0' --rule 'import/export: 0'" | |
| git show HEAD:.eslintrc > $ESLINTRC | |
| echo "### Ensure changes follow our code style... ####" | |
| # See https://www.kernel.org/pub/software/scm/git/docs/githooks.html#pre-receive |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ;;; interactive javascript shell with elnode -*- lexical-binding: t -*- | |
| (elnode-app elnode-ijs-dir comint uuid) | |
| (defvar elnode-ijs/input nil | |
| "Input for the js shell. | |
| Each element is a cons of a uuid and the javascript to send.") | |
| (defvar elnode-ijs/input-hash (make-hash-table :test 'equal) |