typedoc
typedoc copied to clipboard
Document correct command to fix linting errors.
As documented in .github/CONTRIBUTING.md#linting, a user should be able to automatically fix linting errors with npm run lint -- --fix
The --fix flag however causes:
- [warn] Ignored unknown option --fix.
use the --write for the correct behavior.
*note: The linter has has re-formatted the start of 'CONTRIBUTING.md' as per this pull request.
Ah shoot, that's a leftover from before we switched to prettier, so there wasn't a && npm run prettier in the lint command, --fix is still correct for eslint... don't think many people bother with eslint's fixer though, thanks!