spacemonkd commented on code in PR #10094:
URL: https://github.com/apache/ozone/pull/10094#discussion_r3129729237


##########
hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/.eslintrc.json:
##########
@@ -36,13 +37,7 @@
           "allowTemplateLiterals": true
         }
       ],
-      "no-unused-vars": [
-        "warn",
-        {
-          "argsIgnorePattern": "^_\\w*",
-          "varsIgnorePattern": "^_\\w*"
-        }
-      ],
+      "no-unused-vars": "off",

Review Comment:
   For example:
   ```
   items.map((_item, index) => {
       console.log(index);
   });
   ```
   
   we want to use the index, and not the item, so here we can use an underscore 
to indicate an explicit unused variable.



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