ESLint plugin
This project is maintained by iliubinskii
ESLint plugin / typescript/require-this-void
Requires “this: void” for static methods.
module.exports = {
plugins: ["misc"],
rules: {
"misc/typescript/require-this-void": "error"
}
};
class C {
static f() {}
}
class C {
static f(this: void) {}
}