From f000ce314d07c4266a9be102514e32b53b6ea875 Mon Sep 17 00:00:00 2001 From: Mansi2007275 Date: Thu, 1 Oct 2026 14:11:41 +0530 Subject: [PATCH 1/2] fix(ci): exclude backend from frontend ESLint and bump actions to v5 --- .github/workflows/ci.yml | 10 +++++----- eslint.config.mjs | 1 + 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e57c385..f112811 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,10 +12,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v5 with: node-version: 20 cache: "npm" @@ -40,10 +40,10 @@ jobs: working-directory: ./backend steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v5 with: node-version: 20 cache: "npm" @@ -53,4 +53,4 @@ jobs: run: npm ci - name: Run tests (if any) - run: npm test --if-present \ No newline at end of file + run: npm test --if-present diff --git a/eslint.config.mjs b/eslint.config.mjs index 719cea2..960efca 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -10,6 +10,7 @@ const compat = new FlatCompat({ }); const eslintConfig = [ + { ignores: ["backend/**"] }, ...compat.extends("next/core-web-vitals", "next/typescript"), { ignores: [ From 4f15446a366335e4f1e523104fecacc8477f87b1 Mon Sep 17 00:00:00 2001 From: Mansi2007275 Date: Thu, 1 Oct 2026 14:58:27 +0530 Subject: [PATCH 2/2] fix(lint): ignore tailwind.config.ts in ESLint --- eslint.config.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eslint.config.mjs b/eslint.config.mjs index 960efca..94ded49 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -10,7 +10,7 @@ const compat = new FlatCompat({ }); const eslintConfig = [ - { ignores: ["backend/**"] }, + { ignores: ["backend/**", "tailwind.config.ts"] }, ...compat.extends("next/core-web-vitals", "next/typescript"), { ignores: [ @@ -23,4 +23,4 @@ const eslintConfig = [ }, ]; -export default eslintConfig; +export default eslintConfig; \ No newline at end of file