Skip to content

Commit e1c3df3

Browse files
authored
Add link to eslint-plugin-sql to README (#808)
https://github.com/gajus/eslint-plugin-sql#format essentially wraps `sql-formatter`.
2 parents ec5c3c1 + e6e5be1 commit e1c3df3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,10 @@ The tool also accepts a JSON config file named .sql-formatter.json in the curren
171171

172172
All fields are optional and all fields that are not specified will be filled with their default values.
173173

174+
## Usage as ESLint plugin
175+
176+
`sql-formatter` can be utilized through the ESLint rule [eslint-plugin-sql#format](https://github.com/gajus/eslint-plugin-sql#format).
177+
174178
### Configuration options
175179

176180
- [**`language`**](docs/language.md) the SQL dialect to use (when using `format()`).

0 commit comments

Comments
 (0)