ESLint plugin
This project is maintained by iliubinskii
ESLint plugin / typescript/array-callback-return-type
Requires boolean return type in array callbacks.
module.exports = {
plugins: ["misc"],
rules: {
"misc/typescript/array-callback-return-type": "error"
}
};
[1, true].every(x => x);
[1].every(x => x);
[""].every(x => x);
[false].every(x => x);