build(ci): fix eslint configuration
[poolifier.git] / prepare.mjs
1 import { env } from 'node:process'
2
3 const isCIEnvironment = env.CI != null
4 if (isCIEnvironment === false) {
5 import('husky')
6 .then(husky => console.warn(husky.default()))
7 .catch(console.error)
8 }