bulletproof-react icon indicating copy to clipboard operation
bulletproof-react copied to clipboard

[suggestion] - adjust eslint no-unused-vars rule to allow override

Open ppanthony opened this issue 1 year ago • 0 comments
trafficstars

"@typescript-eslint/no-unused-vars": [
          "error",
          {
            "argsIgnorePattern": "^_",
            "varsIgnorePattern": "^_",
            "caughtErrorsIgnorePattern": "^_"
          }
        ],

occasionally there are instances where no unused variables is too aggressive. I tend to use underscores in front of a variable name to do this.

ppanthony avatar Sep 27 '24 11:09 ppanthony