clap404 / eslint-plugin-sql Goto Github PK
View Code? Open in Web Editor NEWThis project forked from gajus/eslint-plugin-sql
SQL linting rules for ESLint.
License: Other
This project forked from gajus/eslint-plugin-sql
SQL linting rules for ESLint.
License: Other
Is your feature request related to a problem? Please describe.
sql`<sql query>`
is fine most of the time, but it'd be nice to customize it.
Usecases are :
Describe the solution you'd like
make each config linked to a tag
Describe alternatives you've considered
maybe eslint-plugin-sql could have its own tag ? this seems suboptimal as it would force to include eslint-plugin-sql as a normal dependency for no good reason?
Describe the bug
The formatter inserts trailing spaces at the end of the line
To Reproduce
use test request :
INSERT INTO "table" ("col")
SELECT *
FROM "othertable"
ON CONFLICT ("id") DO
UPDATE --here are the trailing spaces
SET "col" = true
Expected behavior
no spaces
Is your feature request related to a problem? Please describe.
Single line sql statements are not formatted at all if ignoreInline: true
is set, yet it'd be usefull to have some things like uppercase keytwords working.
Describe the solution you'd like
add a config like preserveInline
to format inline queries without adding newlines
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.