From 1c6e3aad9fe920dcb7b01890e84de576adf2833e Mon Sep 17 00:00:00 2001 From: Alisson Pereira Date: Thu, 21 Aug 2025 09:50:50 -0300 Subject: [PATCH 1/2] Adds Linting GitHub Actions --- .github/workflows/linting.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/linting.yaml diff --git a/.github/workflows/linting.yaml b/.github/workflows/linting.yaml new file mode 100644 index 0000000..b6b992d --- /dev/null +++ b/.github/workflows/linting.yaml @@ -0,0 +1,18 @@ +name: Linting + +on: pull_request + +jobs: + prettier: + name: Prettier + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - uses: actions/setup-node@v4 + with: + node-version: "lts/hydrogen" + + - run: npm ci + + - run: npm run lint:prettier:check From 352546010854de4f3a4e58472e6a49ff4abd3ec2 Mon Sep 17 00:00:00 2001 From: Alisson Pereira Date: Thu, 21 Aug 2025 09:54:27 -0300 Subject: [PATCH 2/2] fix prettier style linting --- infra/migrations/1755523095078_test-migration.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/infra/migrations/1755523095078_test-migration.js b/infra/migrations/1755523095078_test-migration.js index fbce4d4..ca088d9 100644 --- a/infra/migrations/1755523095078_test-migration.js +++ b/infra/migrations/1755523095078_test-migration.js @@ -2,6 +2,6 @@ exports.shorthands = undefined; -exports.up = pgm => {}; +exports.up = (pgm) => {}; -exports.down = pgm => {}; +exports.down = (pgm) => {};