diff --git a/.github/workflows/prettier.yml b/.github/workflows/prettier.yml new file mode 100644 index 00000000..aff8544b --- /dev/null +++ b/.github/workflows/prettier.yml @@ -0,0 +1,18 @@ +name: Prettier + +on: + pull_request: + push: + branches: + - main + +jobs: + prettier: + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Prettify code + uses: creyD/prettier_action@v4.6 \ No newline at end of file diff --git a/.prettierrc b/.prettierrc index 031b5500..7b35fa86 100644 --- a/.prettierrc +++ b/.prettierrc @@ -1,5 +1,7 @@ { "tabWidth": 4, "bracketSameLine": true, - "printWidth": 160 + "printWidth": 160, + "semi": true, + "singleQuote": false } \ No newline at end of file