eslint/no-setter-return Correctness 
What it does 
Setters cannot return values.
Why is this bad? 
While returning a value from a setter does not produce an error, the returned value is being ignored. Therefore, returning a value from a setter is either unnecessary or a possible error, since the returned value cannot be used.
Examples 
Examples of incorrect code for this rule:
javascript
class URL {
  set origin() {
    return true;
  }
}How to use 
To enable this rule in the CLI or using the config file, you can use:
bash
oxlint --deny no-setter-returnjson
{
  "rules": {
    "no-setter-return": "error"
  }
}