Files
AdguardFilters/.husky/install.js
David b9b379022a Migrate from Yarn to npm package manager and update AGLint to v3 (#205942)
* migrate from Yarn to npm package manager and update dependencies

* update CODEOWNERS file with new ownership assignments and reorder entries
2025-05-21 18:25:57 +03:00

12 lines
444 B
JavaScript

// See: https://typicode.github.io/husky/how-to.html#ci-server-and-docker
// Do not initialize Husky in CI environments. GitHub Actions set the CI env variable automatically.
// See: https://docs.github.com/en/actions/learn-github-actions/variables#default-environment-variables
if (process.env.CI === 'true') {
process.exit(0);
}
// Initialize Husky programmatically.
const husky = (await import('husky')).default;
console.log(husky());