mistercrunch opened a new pull request, #31845:
URL: https://github.com/apache/superset/pull/31845

   Chiseling at https://github.com/apache/superset/pull/31590 and bringing 
what's atomically committable out of there.
   
   This simply adds eslint checks to pre-commit. Note that:
   - it requires having run `npm i` in superset-frontend
   - it's set up to NOT run in CI as part of the pre-commit validation 
workflow, since we run eslint more formally in another workflow
   
   Why doing this? Currently it's common to forget to run `npm run lint` prior 
to committing/pushing, so people can waste time waiting for CI to fail where it 
could be caught easily. It's nice to have pre-commit do the check itself 
because it will only evaluate the files that have changed, making it much 
faster than running a full lint run against all files.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to