keycloak-scim/js/lint-staged.config.js
Jon Koops 242063dc74
Fix Husky setup (#28636)
Signed-off-by: Jon Koops <jonkoops@gmail.com>
2024-04-11 14:11:06 +00:00

8 lines
244 B
JavaScript

import path from "node:path";
const CONFIG_PATH = path.resolve(import.meta.dirname, "eslint.config.js");
export default {
"*.{js,jsx,mjs,ts,tsx}": (filenames) =>
`eslint --config ${CONFIG_PATH} --cache --fix ${filenames.join(" ")}`,
};