Add/enforce ESLint (JavaScript linting) in pre-commit hooks #14154
Labels
area:UI
Related to UI/UX. For Frontend Developers.
area:webserver
Webserver related Issues
kind:task
A task that needs to be completed as part of a larger issue
type:improvement
Changelog: Improvements
There is already an existing ESLint configuration and supporting
yarn lint
commands, it just needs to be integrated into pre-commit.This will prevent errors and ensure consistent style/syntax is utilized throughout the codebase.
I made a previous attempt at resolving it several months ago in #11699. While I had it working locally, I was unable to get it executing properly in our CI environment.
Related Issues
We're working on migrating our inline JavaScript to external files (#14115). I'm not sure that is a pre-requisite for this issue, but the order of execution will certainly affect the scope.
The text was updated successfully, but these errors were encountered: