1
0
mirror of https://github.com/sasjs/core.git synced 2026-01-08 18:00:06 +00:00

feat: enabling sasjs lint as a git pre-commit hook when contributing to @sasjs/core. To use, just run

> ghooks@2.0.4 install /home/zah/git/core/node_modules/ghooks
> node ./bin/module-install

> @sasjs/core@1.0.0 postinstall /home/zah/git/core
> node-git-hooks

Installing Git hooks...
added 14 packages from 12 contributors and audited 205 packages in 4.23s

17 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities from the repository.
This commit is contained in:
2021-04-03 21:34:40 +02:00
parent 0a38056c69
commit 9568b17f20
2 changed files with 1573 additions and 23 deletions

1576
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -31,7 +31,13 @@
"docs": "sasjs doc && ./sasjs/utils/build.sh",
"postinstall": "node-git-hooks"
},
"dependencies": {
"node-git-hooks": "^1.0.5"
"devDependencies": {
"@sasjs/cli": "^2.14.2",
"ghooks": "^2.0.4"
},
"config": {
"ghooks": {
"pre-commit": "sasjs lint"
}
}
}