pierrejeambrun opened a new pull request, #29768:
URL: https://github.com/apache/airflow/pull/29768

   **Issue**:
   Formatting with eslint is too permissive. 2 different formatting style can 
be considered 'valid' for eslint but quite different in practice. Also 
formatting with eslint is not the most common so switching for prettier might 
be helpful. (most front-end dev have their IDE already working with prettier)
   
   **Solution**:
   This introduce an opinionated formatter to have better consistency in our 
front-end code base.
   
   - Integrate with our `eslint` config
   - Integrate with our `stylelint` config
   - Add the prettier formatting step to the pre-commit hook, and 
rename/clarify the hook id/description


-- 
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]

Reply via email to