Provide an opt in js tooling system by adding a node env with prettier and eslint configured. 3 bash scripts are provided: enable.sh, disable.sh and reload.sh. Enable.sh: add to the community root (and optionaly to the enterprise root) the env. Disable.sh: remove the env. Reload.sh: disable then enable.
5 lines
66 B
Bash
Executable File
5 lines
66 B
Bash
Executable File
#!/bin/bash
|
|
. "$(dirname "$0")/_/husky.sh"
|
|
|
|
npm run format-staged
|