From e6e5be18bf6308273749f14ff15e610c490d0b47 Mon Sep 17 00:00:00 2001 From: Gajus Kuizinas Date: Thu, 19 Dec 2024 11:56:48 -0500 Subject: [PATCH] Add eslint-plugin-sql --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 80bd69e5b4..71521863ab 100644 --- a/README.md +++ b/README.md @@ -171,6 +171,10 @@ The tool also accepts a JSON config file named .sql-formatter.json in the curren All fields are optional and all fields that are not specified will be filled with their default values. +## Usage as ESLint plugin + +`sql-formatter` can be utilized through the ESLint rule [eslint-plugin-sql#format](https://github.com/gajus/eslint-plugin-sql#format). + ### Configuration options - [**`language`**](docs/language.md) the SQL dialect to use (when using `format()`).