From 16863c5d05cc6a15d84cf2d07fcbe4218a2b77ab Mon Sep 17 00:00:00 2001 From: Rene Saarsoo Date: Fri, 20 Dec 2024 11:19:48 +0200 Subject: [PATCH] Move the ESLint plugin link next to other external tools links --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 71521863a..ba7dfa4a0 100644 --- a/README.md +++ b/README.md @@ -171,10 +171,6 @@ 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()`). @@ -206,6 +202,10 @@ This makes SQL Formatter available as a global variable `window.sqlFormatter`. - [Vim extension](https://github.com/fannheyward/coc-sql/) - [Prettier plugin](https://github.com/un-ts/prettier/tree/master/packages/sql) +### Usage as ESLint plugin + +- Inside `eslint-plugin-sql` by using the rule [eslint-plugin-sql#format](https://github.com/gajus/eslint-plugin-sql#format). + ## Frequently Asked Questions ### Parse error: Unexpected ... at line ...