push
github
fix(lint): run lint-staged on pre-commit again (#594) This PR is based on #593 Husky dropped support for the `hooks` field in `package.json` in v5, so the pre-commit hook (and, by extension `lint-staged`) has not been run since Husky was upgraded from v4 to v7 in 2021 (https://github.com/unleash/unleash-client-node/commit/fcf3c189b). I also made ESLint actually run Prettier by extending the `prettier/recommended` config. * chore: run lint:fix * fix(eslint): run lint-staged on pre-commit again * don't run prettier manually on lint:fix * re-install eslint-config-airbnb-typescript for TypeScript parsing and stuff * downgrade husky to v8 since v9 dropped support for Node 16
518 of 617 branches covered (83.95%)
Branch coverage included in aggregate %.
31 of 34 new or added lines in 6 files covered. (91.18%)
924 of 970 relevant lines covered (95.26%)
6731.77 hits per line