From adb6275ae9a2d94a8b7a7e9c7921e83d9fd97ba1 Mon Sep 17 00:00:00 2001 From: Lovell Fuller Date: Sun, 21 Sep 2025 12:11:00 +0100 Subject: [PATCH] Remove licensing checker/linter This tool appears to no longer be maintained, but more importantly there are far fewer production dependencies now than when first introduced, and all are known/trusted. --- .github/workflows/ci.yml | 1 - package.json | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 25fb7c2d..b6e49aa7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,6 @@ jobs: - run: npm install --ignore-scripts - run: npm run lint-cpp - run: npm run lint-js - - run: npm run lint-licensing - run: npm run lint-types build-native: permissions: diff --git a/package.json b/package.json index 115e3c4f..57174440 100644 --- a/package.json +++ b/package.json @@ -95,10 +95,9 @@ "install": "node install/check.js", "clean": "rm -rf src/build/ .nyc_output/ coverage/ test/fixtures/output.*", "test": "npm run lint && npm run test-unit", - "lint": "npm run lint-cpp && npm run lint-js && npm run lint-licensing && npm run lint-types", + "lint": "npm run lint-cpp && npm run lint-js && npm run lint-types", "lint-cpp": "cpplint", "lint-js": "biome lint", - "lint-licensing": "license-checker --production --summary --onlyAllow=\"Apache-2.0;BSD;ISC;LGPL-3.0-or-later;MIT\"", "lint-types": "tsd --files ./test/types/sharp.test-d.ts", "test-leak": "./test/leak/leak.sh", "test-unit": "node --experimental-test-coverage test/unit.mjs", @@ -182,7 +181,6 @@ "extract-zip": "^2.0.1", "icc": "^3.0.0", "jsdoc-to-markdown": "^9.1.2", - "license-checker": "^25.0.1", "node-addon-api": "^8.5.0", "node-gyp": "^11.4.2", "tar-fs": "^3.1.1",