gajus / gajus/eslint-plugin-sql

[Suggestion] Inline SQL linting without line breaks

Open
#58 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
113
Forks
23
PR merge metrics
No merged PRs in 30d

Description

Suggestion:
```ts

// Mark as deprecated?
ignoreInline: boolen
// Add new config
inlineStyle: "ignore" | "multilline" | "consistent" | boolean

// And if:
inlineStyle === "consistent" && !literal.includes('\n')
// then
fomat = format.split('\n').map(line => line.trim()).join(' ');

```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.