set no-unused-vars eslint noejs 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"]
//...
}