eslint-plugin-sql
eslint-plugin-sql copied to clipboard
[Suggestion] Inline SQL linting without line breaks
Suggestion:
// Replace config field from
ignoreInline: boolen
// to
inlineStyle: "ignore" | "multilline" | "consistent"
// And if:
inlineStyle === "consistent" && !literal.includes('\n')
// then
fomat = format.split('\n').map(line => line.trim()).join(' ');