shuashuai commented on code in PR #1244:
URL: https://github.com/apache/answer/pull/1244#discussion_r1948328735


##########
ui/.eslintrc.js:
##########
@@ -44,7 +44,7 @@ module.exports = {
   },
   plugins: ['react', '@typescript-eslint', 'prettier'],
   rules: {
-    'prettier/prettier': 'error',
+    'prettier/prettier': 0,

Review Comment:
   Why disable it?
   
   Most formatting problems can be solved through eslint + prettier. What you 
need to do is install the eslint plug-in in your editor, and use the plug-in to 
solve the problem of code formatting, rather than disabling the configuration 
in the project.



-- 
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: commits-unsubscr...@answer.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to