From 59cfdafb2d09df4293c93689d539d3e63c2b0ec9 Mon Sep 17 00:00:00 2001 From: Qiao Han Date: Wed, 22 Feb 2023 13:31:22 +0800 Subject: [PATCH] chore: update prettier config --- .github/workflows/prettier.yml | 2 +- .prettierrc | 8 +------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/prettier.yml b/.github/workflows/prettier.yml index fdd36c71a5..17e6cd92c8 100644 --- a/.github/workflows/prettier.yml +++ b/.github/workflows/prettier.yml @@ -61,4 +61,4 @@ jobs: run: npm ci - name: Run prettier run: |- - npx prettier -c '**/*.sql' + npx prettier -c '*.sql' diff --git a/.prettierrc b/.prettierrc index bd551061f0..b9bda117c3 100644 --- a/.prettierrc +++ b/.prettierrc @@ -5,11 +5,5 @@ "singleQuote": true, "printWidth": 100, "endOfLine": "lf", - "sqlKeywordCase": "lower", - "overrides": [ - { - "files": ["*.sql"], - "options": { "sqlKeywordCase": "lower" } - } - ] + "sqlKeywordCase": "lower" }