},
messages: {
- unexpected: "Unexpected newline between function name and paren.",
+ unexpectedWhitespace: "Unexpected whitespace between function name and paren.",
+ unexpectedNewline: "Unexpected newline between function name and paren.",
missing: "Missing space between function name and paren."
}
},
context.report({
node,
loc: leftToken.loc.start,
- messageId: "unexpected",
+ messageId: "unexpectedWhitespace",
fix(fixer) {
/*
context.report({
node,
loc: leftToken.loc.start,
- messageId: "unexpected",
+ messageId: "unexpectedNewline",
fix(fixer) {
return fixer.replaceTextRange([leftToken.range[1], rightToken.range[0]], " ");
}