Since we already have a PHP Git hook file, we need to run ESLint via PHP: exec("node_modules/.bin/eslint assets/js --fix");. Happy coding!
確定! 回上一頁