diff --git a/.eslintrc.json b/.eslintrc.json index 88c73a3d..e0883902 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -41,9 +41,16 @@ "error", "always" ], + "import/no-extraneous-dependencies": [ + "error", { + "devDependencies": true + } + ], "@typescript-eslint/no-explicit-any": "error", "react/react-in-jsx-scope": "off", "react/require-default-props": "off", + "no-spaced-func": "off", + "max-len": ["error", { "code": 180 }], "no-undef": "off" }, "overrides": [ diff --git a/server/tests/server.test.ts b/server/tests/server.test.ts index fac22325..05ef2c17 100644 --- a/server/tests/server.test.ts +++ b/server/tests/server.test.ts @@ -263,7 +263,8 @@ defineFeature(feature, test => { const selectedSurvey = response[0].questionnaires; expect(selectedSurvey).toHaveLength(1); - const questionnaireListReturned = [QuestionnaireHelper.Questionnaire(questionnaireName, true, "July 2020", "OPN", "https://external-web-url/OPN2007T?LayoutSet=CATI-Interviewer_Large")]; + const questionnaireListReturned = [QuestionnaireHelper.Questionnaire( + questionnaireName, true, "July 2020", "OPN", "https://external-web-url/OPN2007T?LayoutSet=CATI-Interviewer_Large")]; expect(selectedSurvey).toEqual(questionnaireListReturned); });