242063dc74
Signed-off-by: Jon Koops <jonkoops@gmail.com>
8 lines
244 B
JavaScript
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(" ")}`,
|
|
};
|