diff --git a/.eslintrc.js b/.eslintrc.js index abc089fe6..de0502125 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -16,8 +16,10 @@ module.exports = { 'arrow-spacing': ['warn'], 'block-spacing': ['warn'], 'brace-style': ['warn', '1tbs'], + 'camelcase': ['warn'], 'comma-spacing': ['warn'], 'curly': ['warn', 'all'], + 'eqeqeq': ['warn'], 'indent': ['warn', 2], 'key-spacing': ['warn'], 'keyword-spacing': ['warn'], diff --git a/package.json b/package.json index 4477d752e..35741eba9 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,8 @@ }, "scripts": { "lint:check": "eslint", - "lint:check:all": "eslint lib system_test test", + "lint:check:all": "eslint lib samples system_test test", + "lint:check:all:errorsOnly": "npm run lint:check:all -- --quiet", "lint:fix": "eslint --fix", "test": "mocha -timeout 180000 --recursive --full-trace test/unit/**/*.js test/unit/*.js", "test:integration": "mocha -timeout 180000 --recursive --full-trace test/integration/**/*.js test/integration/*.js", diff --git a/test/integration/ocsp_mock/testConnectionOcspMock.js b/test/integration/ocsp_mock/testConnectionOcspMock.js index 24e02830a..ff2361e9e 100644 --- a/test/integration/ocsp_mock/testConnectionOcspMock.js +++ b/test/integration/ocsp_mock/testConnectionOcspMock.js @@ -25,8 +25,6 @@ describe('Connection test with OCSP Mock', function () { const valid = cloneConnOption(connOption.valid); - console.log(connOption.valid); - const isHttps = valid.accessUrl.startsWith("https"); function connect(errcode, connection, callback)