mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-26 20:34:02 +03:00
e11636b6f8
refs https://ghost.slack.com/archives/C02G9E68C/p1665497363885949 - we've seen an issue with `lint-staged` in the Admin package because it doesn't pick up the lint-todo file, so it incorrectly flags linting issues that we're ignoring - this is happening because it runs the command from cwd, where the lint exclusion file does not exist - thankfully, `lint-staged` has `--relative` which will run the command from the directory where the command is defined in config, so `ghost/admin` in our case, and that means the lint file is present and picked up |
||
---|---|---|
.. | ||
pre-commit |