Skip to content

Commit

Permalink
Add link to eslint-plugin-sql to README (#808)
Browse files Browse the repository at this point in the history
https://github.com/gajus/eslint-plugin-sql#format essentially wraps
`sql-formatter`.
  • Loading branch information
nene authored Dec 19, 2024
2 parents ec5c3c1 + e6e5be1 commit e1c3df3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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()`).
Expand Down

0 comments on commit e1c3df3

Please sign in to comment.