Closed johnatawnclementawn closed 3 months ago
We were finding that without this change, a manage.py updateproject
(after the latest webpack changes that just landed) created unstaged files under /webpack that were linted by pre-commit in unintended ways (e.g. messages about forbidding require
that only make sense for typescript).
We could consider linting these files in the future, but since we're not linting them in core, suggest not to lint them in projects. The invocation through npm run ...
was already excluding them, so as Johnathan mentions, the idea here is to just remove the drift.
Types of changes
Description of Change
Reduces drift in configuration of precommit and package.json scripts
Issues Solved
Closes #
Checklist
Accessibility Checklist
Developer Guide
Ticket Background
Further comments