disallow default parameters (es/no-default-parameters)
This rule reports ES2015 default parameters as errors.
Examples
⛔ Examples of incorrect code for this rule:
/*eslint es/no-default-parameters: error */
function f(a = 1) {}
This rule reports ES2015 default parameters as errors.
⛔ Examples of incorrect code for this rule:
/*eslint es/no-default-parameters: error */
function f(a = 1) {}