From bcc2d94e67bfaedd136d56b9d856262bb8f2bdff Mon Sep 17 00:00:00 2001 From: Morgan Roderick Date: Tue, 23 Feb 2021 16:07:07 +0000 Subject: [PATCH] Run eslint with --quiet By using `--quiet` we allow builds to pass when there are warnings. This will be a temporary meassure to ensure that we can have frictionlesss contributions, while we build up documentation via JSDoc strings. Without this setting, all builds would fail until we fix all the warnings for missing JSDoc strings. --- .circleci/config.yml | 2 +- package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index ec50d77f2..b6ee1fbca 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -56,7 +56,7 @@ jobs: - *attach-step - run: name: Lint - command: npm run lint + command: npm run lint -- --quiet node-10: docker: diff --git a/package.json b/package.json index 16d8753c9..0a26cf2d4 100644 --- a/package.json +++ b/package.json @@ -66,8 +66,8 @@ }, "lint-staged": { "*.{js,css,md}": "prettier --check", - "*.js": "eslint", - "*.mjs": "eslint --ext mjs --parser-options=sourceType:module" + "*.js": "eslint --quiet", + "*.mjs": "eslint --quiet --ext mjs --parser-options=sourceType:module" }, "dependencies": { "@sinonjs/commons": "^1.8.1",