ESLint plugin
This project is maintained by iliubinskii
ESLint plugin / typescript/no-boolean-literal-type
Disallows boolean literal type.
module.exports = {
plugins: ["misc"],
rules: {
"misc/typescript/no-boolean-literal-type": "error"
}
};
interface I {
x?: true;
y?: false;
}
interface I {
x?: boolean;
}