“hooks”: {. “pre-commit”: “npm run lint — — src”. } } Basically, you are telling husky to run lint on the src folder before every commit.
確定! 回上一頁