From ad2dbfedfb6998c1fdc8361771bc690e7eab56b1 Mon Sep 17 00:00:00 2001 From: Vimal Tech <124178372+vimal-tech-dev@users.noreply.github.com> Date: Mon, 15 Sep 2025 16:02:05 +0530 Subject: [PATCH 1/5] Create linter.yml linter file created --- .github/workflows/linter.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/linter.yml diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml new file mode 100644 index 0000000..2178ea0 --- /dev/null +++ b/.github/workflows/linter.yml @@ -0,0 +1,30 @@ +name: Lint Code Base + +on: + push: + branches: + - main # Or your primary branch + pull_request: + branches: + - main # Or your primary branch + +jobs: + build: + name: Lint + runs-on: ubuntu-latest + steps: + - name: Checkout Code + uses: actions/checkout@v4 + with: + # Super-Linter needs the full git history to get the + # list of files that changed across commits + fetch-depth: 0 + + - name: Super-Linter + uses: super-linter/super-linter@v6 # Use the latest stable version + env: + VALIDATE_HTML: true + VALIDATE_CSS: true + VALIDATE_JAVASCRIPT_ES: true # For modern JavaScript + VALIDATE_JAVASCRIPT_STANDARD: true # For standard JavaScript + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 4b1d2fde990bef2f249c2a3205263d285e0c31a2 Mon Sep 17 00:00:00 2001 From: Vimal Tech <124178372+vimal-tech-dev@users.noreply.github.com> Date: Tue, 16 Sep 2025 01:05:21 +0530 Subject: [PATCH 2/5] Update linter.yml popular linters (htmlhint, stylelint, and eslint). --- .github/workflows/linter.yml | 44 ++++++++++++++++++++---------------- 1 file changed, 25 insertions(+), 19 deletions(-) diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 2178ea0..313e65c 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -2,29 +2,35 @@ name: Lint Code Base on: push: - branches: - - main # Or your primary branch + branches: [ main ] pull_request: - branches: - - main # Or your primary branch + branches: [ main ] jobs: - build: - name: Lint + lint: runs-on: ubuntu-latest + steps: - - name: Checkout Code + - name: Checkout repository uses: actions/checkout@v4 + + - name: Setup Node.js + uses: actions/setup-node@v4 with: - # Super-Linter needs the full git history to get the - # list of files that changed across commits - fetch-depth: 0 - - - name: Super-Linter - uses: super-linter/super-linter@v6 # Use the latest stable version - env: - VALIDATE_HTML: true - VALIDATE_CSS: true - VALIDATE_JAVASCRIPT_ES: true # For modern JavaScript - VALIDATE_JAVASCRIPT_STANDARD: true # For standard JavaScript - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + node-version: 20 + + - name: Install linters + run: | + npm install -g eslint stylelint htmlhint + + - name: Lint JavaScript with ESLint + run: | + eslint . --ext .js,.jsx || true + + - name: Lint CSS with Stylelint + run: | + stylelint "**/*.{css,scss}" || true + + - name: Lint HTML with HTMLHint + run: | + htmlhint "**/*.html" || true From 0ae7c96b7eff77005d21350eb200ec49976911ee Mon Sep 17 00:00:00 2001 From: Vimal Tech <124178372+vimal-tech-dev@users.noreply.github.com> Date: Tue, 16 Sep 2025 06:57:53 +0530 Subject: [PATCH 3/5] linter file deleted --- .github/workflows/linter.yml | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100644 .github/workflows/linter.yml diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml deleted file mode 100644 index 313e65c..0000000 --- a/.github/workflows/linter.yml +++ /dev/null @@ -1,36 +0,0 @@ -name: Lint Code Base - -on: - push: - branches: [ main ] - pull_request: - branches: [ main ] - -jobs: - lint: - runs-on: ubuntu-latest - - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version: 20 - - - name: Install linters - run: | - npm install -g eslint stylelint htmlhint - - - name: Lint JavaScript with ESLint - run: | - eslint . --ext .js,.jsx || true - - - name: Lint CSS with Stylelint - run: | - stylelint "**/*.{css,scss}" || true - - - name: Lint HTML with HTMLHint - run: | - htmlhint "**/*.html" || true From 7818dd4b39b122ecdba8a3a6ca242cbddefebf7f Mon Sep 17 00:00:00 2001 From: vimal-tech-dev Date: Tue, 16 Sep 2025 07:36:03 +0530 Subject: [PATCH 4/5] GitHub link rename --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index cf00d52..5c78f8b 100644 --- a/index.html +++ b/index.html @@ -54,8 +54,8 @@

About Me

REST APIs

MySQL

AWS

-

GitHub

-

Tech Stacks

+

GitHub

+

Tech Stacks

From 3edf4adf5b1a1b5c72bd6c64da66e0d8bf51ece0 Mon Sep 17 00:00:00 2001 From: Vimal Tech <124178372+vimal-tech-dev@users.noreply.github.com> Date: Tue, 16 Sep 2025 17:08:57 +0530 Subject: [PATCH 5/5] Update doc-check-linter.yml --- .github/workflows/doc-check-linter.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/doc-check-linter.yml b/.github/workflows/doc-check-linter.yml index f42263c..0e802f6 100644 --- a/.github/workflows/doc-check-linter.yml +++ b/.github/workflows/doc-check-linter.yml @@ -43,8 +43,6 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v4 - with: - ssh-key: ${{ secrets.SSH_KEY_JAVA }} - name: DCO Check uses: tisonkun/actions-dco@v1.1