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.
This commit is contained in:
Lovell Fuller 2025-09-21 12:11:00 +01:00
parent f2978651f0
commit adb6275ae9
2 changed files with 1 additions and 4 deletions

View File

@ -16,7 +16,6 @@ jobs:
- run: npm install --ignore-scripts - run: npm install --ignore-scripts
- run: npm run lint-cpp - run: npm run lint-cpp
- run: npm run lint-js - run: npm run lint-js
- run: npm run lint-licensing
- run: npm run lint-types - run: npm run lint-types
build-native: build-native:
permissions: permissions:

View File

@ -95,10 +95,9 @@
"install": "node install/check.js", "install": "node install/check.js",
"clean": "rm -rf src/build/ .nyc_output/ coverage/ test/fixtures/output.*", "clean": "rm -rf src/build/ .nyc_output/ coverage/ test/fixtures/output.*",
"test": "npm run lint && npm run test-unit", "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-cpp": "cpplint",
"lint-js": "biome lint", "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", "lint-types": "tsd --files ./test/types/sharp.test-d.ts",
"test-leak": "./test/leak/leak.sh", "test-leak": "./test/leak/leak.sh",
"test-unit": "node --experimental-test-coverage test/unit.mjs", "test-unit": "node --experimental-test-coverage test/unit.mjs",
@ -182,7 +181,6 @@
"extract-zip": "^2.0.1", "extract-zip": "^2.0.1",
"icc": "^3.0.0", "icc": "^3.0.0",
"jsdoc-to-markdown": "^9.1.2", "jsdoc-to-markdown": "^9.1.2",
"license-checker": "^25.0.1",
"node-addon-api": "^8.5.0", "node-addon-api": "^8.5.0",
"node-gyp": "^11.4.2", "node-gyp": "^11.4.2",
"tar-fs": "^3.1.1", "tar-fs": "^3.1.1",