bulletproof-react
bulletproof-react copied to clipboard
[suggestion] - adjust eslint no-unused-vars rule to allow override
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.