mirror of
https://github.com/lovell/sharp.git
synced 2025-12-19 07:15:08 +01:00
Modernise C++ linter using new @cpplint/cli tooling
This commit is contained in:
@@ -96,7 +96,7 @@
|
||||
"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-types",
|
||||
"lint-cpp": "cpplint",
|
||||
"lint-cpp": "cpplint --quiet src/*.h src/*.cc",
|
||||
"lint-js": "biome lint",
|
||||
"lint-types": "tsd --files ./test/types/sharp.test-d.ts",
|
||||
"test-leak": "./test/leak/leak.sh",
|
||||
@@ -168,6 +168,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@biomejs/biome": "^2.2.4",
|
||||
"@cpplint/cli": "^0.1.0",
|
||||
"@emnapi/runtime": "^1.5.0",
|
||||
"@img/sharp-libvips-dev": "1.2.3",
|
||||
"@img/sharp-libvips-dev-wasm32": "1.2.3",
|
||||
@@ -175,7 +176,6 @@
|
||||
"@img/sharp-libvips-win32-ia32": "1.2.3",
|
||||
"@img/sharp-libvips-win32-x64": "1.2.3",
|
||||
"@types/node": "*",
|
||||
"cc": "^3.0.1",
|
||||
"emnapi": "^1.5.0",
|
||||
"exif-reader": "^2.0.2",
|
||||
"extract-zip": "^2.0.1",
|
||||
|
||||
Reference in New Issue
Block a user