prettier-plugin-sql
Advanced tools
Comparing version 0.15.1 to 0.15.2
@@ -107,2 +107,6 @@ import nodeSqlParser from 'node-sql-parser'; | ||
{ | ||
value: 'sqlite', | ||
description: 'SQLite: https://www.sqlite.org', | ||
}, | ||
{ | ||
value: 'trino', | ||
@@ -109,0 +113,0 @@ description: 'Trino: https://trino.io', |
{ | ||
"name": "prettier-plugin-sql", | ||
"version": "0.15.1", | ||
"version": "0.15.2", | ||
"type": "module", | ||
@@ -44,7 +44,7 @@ "description": "An opinionated sql formatter plugin for Prettier", | ||
"peerDependencies": { | ||
"prettier": "^3.0.0" | ||
"prettier": "^3.0.3" | ||
}, | ||
"dependencies": { | ||
"node-sql-parser": "^4.7.0", | ||
"sql-formatter": "^12.2.3", | ||
"sql-formatter": "^12.2.4", | ||
"tslib": "^2.6.0" | ||
@@ -51,0 +51,0 @@ }, |
@@ -32,4 +32,12 @@ # prettier-plugin-sql ![npm bundle size](https://img.shields.io/bundlephobia/min/prettier-plugin-sql) ![npm bundle size](https://img.shields.io/bundlephobia/minzip/prettier-plugin-sql) | ||
Once installed, [Prettier plugins](https://prettier.io/docs/en/plugins.html) should be automatically recognized by Prettier. To use this plugin, confirm that it's installed and run Prettier using your preferred method. For example: | ||
Once installed, [Prettier plugins](https://prettier.io/docs/en/plugins.html) must be added to `.prettierrc`: | ||
```json | ||
{ | ||
"plugins": ["prettier-plugin-sql"] | ||
} | ||
``` | ||
Then: | ||
```sh | ||
@@ -36,0 +44,0 @@ # npx |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
127
61161
10
963
Updatedsql-formatter@^12.2.4