Skip to content

Commit

Permalink
Move the ESLint plugin link next to other external tools links
Browse files Browse the repository at this point in the history
  • Loading branch information
nene committed Dec 20, 2024
1 parent 322b06b commit 16863c5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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()`).
Expand Down Expand Up @@ -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 ...
Expand Down

0 comments on commit 16863c5

Please sign in to comment.