From f0b06cbed5d8182a9973feb2a539aa0ab19bbcdf Mon Sep 17 00:00:00 2001 From: GENTILHOMME Thomas Date: Sun, 22 Mar 2026 18:11:37 +0100 Subject: [PATCH 1/3] chore: update eslint & vite chore: fix lint command --- package.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index c2e42f2..b737b3b 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,8 @@ "dev": "vite", "contributors": "node scripts/generate-contributors.js", "build": "vite build", - "preview": "vite preview" + "preview": "vite preview", + "lint": "eslint src scripts plugins" }, "repository": { "type": "git", @@ -22,8 +23,8 @@ }, "homepage": "https://github.com/NodeSecure/landing#readme", "devDependencies": { - "@openally/config.eslint": "^2.2.0", - "vite": "7.2.2" + "@openally/config.eslint": "2.4.2", + "vite": "8.0.1" }, "dependencies": { "zup": "0.0.2" From 72310a2b15f75ee87603b540c5dfe11727ab692e Mon Sep 17 00:00:00 2001 From: GENTILHOMME Thomas Date: Sun, 22 Mar 2026 18:11:54 +0100 Subject: [PATCH 2/3] chore(.npmrc): add allow-git=none --- .npmrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.npmrc b/.npmrc index 7d9d3a7..45c1db2 100644 --- a/.npmrc +++ b/.npmrc @@ -1,3 +1,4 @@ save-exact=true ignore-scripts=true package-lock=false +allow-git=none From b08e68970f185a1ed1b77782c5204e5601c4b6e9 Mon Sep 17 00:00:00 2001 From: GENTILHOMME Thomas Date: Sun, 22 Mar 2026 18:18:05 +0100 Subject: [PATCH 3/3] ci: add lint GHA --- .github/workflows/lint.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/lint.yml diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..f61b905 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,25 @@ +name: Lint + +on: + push: + branches: ['main'] + pull_request: + branches: ['main'] + +permissions: + contents: read + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 + - name: Set up Node + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0 + with: + node-version: 24.x + - name: Install dependencies + run: npm install --ignore-scripts + - name: Lint + run: npm run lint