delei commented on issue #3728:
URL: https://github.com/apache/hertzbeat/issues/3728#issuecomment-3267199369

   ## Updates
   
   - Add a new dependency `postcss-less`, specifying version `3.1.4`.
   - Modify `lint:style` script in `package.json`
   ```bash
   "lint:style": "stylelint \"src/**/*.less\" --custom-syntax postcss-less 
--fix"
   ```
   The above proposal resolves the error reported in the issue. According to 
the CI workflow `frontend-build-test.yml`, this will not impact CI.
   
   ## Question
   
   This is the result of running it in a local environment. Given the large 
number of newly detected errors, I am still considering whether this is the 
most suitable solution.
   
   <img width="1255" height="673" alt="Image" 
src="https://github.com/user-attachments/assets/682460db-6cae-4c49-8475-4cfc07d16e5a";
 />
   
   We should continue to look into this issue, hoping to receive further 
professional advice from front-end developers. Please feel free to leave 
comments or feedback.
   
   ## Context
   
   - https://stylelint.io/migration-guide/to-14
   - https://github.com/stylelint/stylelint/issues/5663
   - https://github.com/stylelint/stylelint/issues/5666
   


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