From 3ba5ebe9fd2a8a3317d71f9c9f67e558220c34bd Mon Sep 17 00:00:00 2001 From: aaron-collier Date: Tue, 11 Jun 2019 11:07:58 -0700 Subject: [PATCH 1/2] Fix the copy pasta linter comment error --- __tests__/integration/unauthenticatedNavigation.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/__tests__/integration/unauthenticatedNavigation.test.js b/__tests__/integration/unauthenticatedNavigation.test.js index 844797ffb..394a7848f 100644 --- a/__tests__/integration/unauthenticatedNavigation.test.js +++ b/__tests__/integration/unauthenticatedNavigation.test.js @@ -4,7 +4,7 @@ import 'isomorphic-fetch' describe('When an unauthenticated user tries to access resource templates', () => { beforeAll(async () => { - jest.setTimeout(60000) // this seems to take around 10s in practice, but be generous, just in case + jest.setTimeout(60000) // This seems to take around 10s in practice, but be generous, just in case await page.goto('http://127.0.0.1:8888/templates') /* From 57d547cb8c7e0cf008f1d729c4da9f2a38602a75 Mon Sep 17 00:00:00 2001 From: aaron-collier Date: Tue, 11 Jun 2019 11:13:34 -0700 Subject: [PATCH 2/2] Set warnings back to 11 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 9ececbe34..60bfbbab3 100755 --- a/package.json +++ b/package.json @@ -79,7 +79,7 @@ "dev-build": "webpack --progress --mode development", "dev-build-test": "npm run dev-build && npm run test", "dev-start": "webpack-dev-server --config ./webpack.config.js --mode development", - "eslint": "eslint --max-warnings 10 --color -c .eslintrc.js --ext js,jsx .", + "eslint": "eslint --max-warnings 11 --color -c .eslintrc.js --ext js,jsx .", "eslint-fix": "eslint --max-warnings 10 --color -c .eslintrc.js --ext js,jsx --fix .", "jest-cov": "jest --coverage --colors --silent --runInBand", "jest-ci": "jest --colors --silent --ci --runInBand --coverage --reporters=default --reporters=jest-junit && cat ./coverage/lcov.info | coveralls",