Skip to content

Commit

Permalink
fix unicorn/no-useless-undefined todo
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek committed Dec 4, 2022
1 parent 8f35b33 commit 1db3efe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .eslintrc.js
Expand Up @@ -108,7 +108,6 @@ module.exports = {
'unicorn/no-console-spaces': 'off',
'unicorn/no-for-loop': 'off',
'unicorn/no-hex-escape': 'off',
'unicorn/no-useless-undefined': 'off', // TODO
'unicorn/prefer-array-some': 'off',
'unicorn/prefer-date-now': 'off',
'unicorn/prefer-includes': 'off',
Expand Down
4 changes: 2 additions & 2 deletions src/definitions/modules/calendar.js
Expand Up @@ -893,7 +893,7 @@
let endDate = module.get.endDate();
if (!!endDate && !!date && date > endDate) {
// selected date is greater than end date in range, so clear end date
module.set.endDate(undefined);
module.set.endDate();
}
module.set.dataKeyValue(metadata.date, date);

Expand Down Expand Up @@ -1030,7 +1030,7 @@
},

clear: function () {
module.set.date(undefined);
module.set.date();
},

popup: function () {
Expand Down

0 comments on commit 1db3efe

Please sign in to comment.