![]() Pass a configuration file using the -config or -c flagĬonfiguration should be an object where each value is a command to run and its key is a glob pattern to use for this command.Whether your project's package.json contains the "type": "module" option or not. lintstagedrc.js in either ESM or CommonJS format, depending on Configure lint-staged to run linters and other tasks:.Install some linters, like ESLint or Prettier. ![]() Husky is a popular choice for configuring git hooks.Set up the pre-commit git hook to run lint-staged.To install lint-staged in the recommended way, you need to: If you've written one, please submit a PR with the link to it! Installation and setup ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |