Skip to content

Commit

Permalink
fix after rebase and apply formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
kcinay055679 committed Dec 24, 2024
1 parent 2e3419c commit 4f8fb90
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 6 additions & 2 deletions frontend/cypress/e2e/check-in.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
4 changes: 1 addition & 3 deletions frontend/eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 4f8fb90

Please sign in to comment.