From b30d2e2e0e2eaa2aa215797a49a1703482c22faa Mon Sep 17 00:00:00 2001 From: Mike Presman Date: Mon, 18 Dec 2023 13:31:33 -0500 Subject: [PATCH] fix: package.json lint + ignore gitpkg.config.js --- js/.eslintrc.js | 2 +- js/package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/js/.eslintrc.js b/js/.eslintrc.js index 087ff23..2cfa9f9 100644 --- a/js/.eslintrc.js +++ b/js/.eslintrc.js @@ -69,5 +69,5 @@ module.exports = { "import/extensions": [".js", ".jsx", ".ts", ".tsx"], jsdoc: { ignoreInternal: true }, }, - ignorePatterns: ["/node_modules/", "/dist/"], + ignorePatterns: ["/node_modules/", "/dist/", "gitpkg.config.js"], }; diff --git a/js/package.json b/js/package.json index 6a5f706..959eceb 100644 --- a/js/package.json +++ b/js/package.json @@ -27,8 +27,8 @@ "build": "rm -rf dist && tsc --project tsconfig.cjs.json && tsc --project tsconfig.esm.json", "fmt": "prettier --write . && eslint --fix .", "lint": "prettier --check . && eslint . && tsc --project tsconfig.eslint.json && tsc --project spec/tsconfig.json", - "test": "DL_SKIP_SSL_VERIFICATION=1 NODE_EXTRA_CA_CERTS=\"$(mkcert -CAROOT)/rootCA.pem\" jest --runInBand", - "prerelease": "gitpkg publish" + "prerelease": "gitpkg publish", + "test": "DL_SKIP_SSL_VERIFICATION=1 NODE_EXTRA_CA_CERTS=\"$(mkcert -CAROOT)/rootCA.pem\" jest --runInBand" }, "dependencies": { "@grpc/grpc-js": "^1.9.12",