diff --git a/frontend/cypress/e2e/check-in.cy.ts b/frontend/cypress/e2e/check-in.cy.ts index 39016314dc..46080c59a6 100644 --- a/frontend/cypress/e2e/check-in.cy.ts +++ b/frontend/cypress/e2e/check-in.cy.ts @@ -310,8 +310,12 @@ function getCurrentDate() { let ddStr = '' + dd; let mmStr = '' + mm; - if (dd < 10) ddStr = '0' + ddStr; - if (mm < 10) mmStr = '0' + mmStr; + if (dd < 10) { + ddStr = '0' + ddStr; + } + if (mm < 10) { + mmStr = '0' + mmStr; + } return ddStr + '.' + mmStr + '.' + yyyy; } diff --git a/frontend/eslint.config.mjs b/frontend/eslint.config.mjs index 45c129fa6f..b387c1d63f 100644 --- a/frontend/eslint.config.mjs +++ b/frontend/eslint.config.mjs @@ -19,13 +19,11 @@ export default tsEslint.config( ...tsEslint.configs.stylistic, ...angular.configs.tsRecommended, ], + processor: angular.processInlineTemplates, languageOptions: { parserOptions: { project: ['./tsconfig.json', './tsconfig.spec.json'], }, - }, - processor: angular.processInlineTemplates, - languageOptions: { globals: { //Cypress things not recognized by eslint cy: 'readonly',