A class with only static members could just be an object instead.
This rule is partly fixable.
class X {
static foo = false;
static bar() {};
}
const X = {
foo: false,
bar() {}
};
class X {
static foo = false;
static bar() {};
constructor() {}
}
class X {
static foo = false;
static bar() {};
unicorn() {}
}
class X {
static #foo = false;
static bar() {}
}