typedoc icon indicating copy to clipboard operation
typedoc copied to clipboard

Document correct command to fix linting errors.

Open citkane opened this issue 3 years ago • 0 comments

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.

citkane avatar Aug 10 '22 14:08 citkane

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!

Gerrit0 avatar Aug 11 '22 01:08 Gerrit0