no-unused-vars eslint typescript code example
Example: eslint no-unused-vars typescript
"plugins": ["@typescript-eslint"],
"rules": {
//...
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": ["error"]
//...
}
"plugins": ["@typescript-eslint"],
"rules": {
//...
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": ["error"]
//...
}