likyh opened a new issue, #3330:
URL: https://github.com/apache/incubator-devlake/issues/3330

   ## What and why to refactor
   
https://github.com/apache/incubator-devlake/blob/7b0199a6d8557d4f18b73200d619a96d10df0163/config-ui/src/hooks/usePipelineValidation.jsx#L22-L45
   
   <img width="610" alt="image" 
src="https://user-images.githubusercontent.com/3294100/194715800-b5b793cf-1267-4ea2-b480-4df88638efa3.png";>
   
   But it only uses little params and I don't think it will use 
`projectId/boardId/...` in validation in future.
   
   ## Describe the solution you'd like
   Delete them.
   
   Delete unnecessary params will help us read code with less burden. Here the 
burden means worry about where the vars are used.


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