This rule enforces a point-free style, when possible.
Examples of incorrect code for this rule:
const f = x => g(x)
const f = x => g(y)(x)
Examples of correct code for this rule:
const f = g
const f = x => g(x)(y)
const f = x => g(x, 1)
This rule enforces a point-free style, when possible.
Examples of incorrect code for this rule:
const f = x => g(x)
const f = x => g(y)(x)
Examples of correct code for this rule:
const f = g
const f = x => g(x)(y)
const f = x => g(x, 1)