Skip to content
This repository was archived by the owner on Mar 7, 2025. It is now read-only.

Commit

Permalink
fix(lint): fix linting issues blocking release
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-capsule42 committed Feb 27, 2024
1 parent 036a26c commit 5039bcb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions src/auro-calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ import chevronRight from '@alaskaairux/icons/dist/icons/interface/chevron-right_
* - 'short' (e.g., Thu)
* - 'narrow' (e.g., T).
* Default is 'short'.
* @fires auroCalendar-dateSelected - Notifies that a date has been selected in the calendar.
* @fires auroCalendar-ready - Notifies that the component has finished initializing.
* @fires auroCalendar-monthChanged - Notifies that the visible calendar month(s) have changed.
* @event auroCalendar-dateSelected - Notifies that a date has been selected in the calendar.
* @event auroCalendar-ready - Notifies that the component has finished initializing.
* @event auroCalendar-monthChanged - Notifies that the visible calendar month(s) have changed.
*/

/* eslint-disable no-self-assign, no-magic-numbers, no-undef-init, no-param-reassign, max-lines */
Expand Down Expand Up @@ -222,7 +222,7 @@ export class AuroCalendar extends RangeDatepicker {
*/
monthChanged(month, year) {
if (year && month) {
this.monthPlus = (month % 12) + 1;
this.monthPlus = (month % 12) + 1; // eslint-disable-line no-extra-parens
if (this.monthPlus === 1) {
this.yearPlus = year + 1;
} else {
Expand Down
10 changes: 5 additions & 5 deletions src/auro-datepicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ import '@aurodesignsystem/auro-dropdown';
* @csspart calendar - Use for customizing the style of the calendar.
* @csspart helpTextSpan - Use for customizing the style of the datepicker help text span.
* @csspart helpText - Use for customizing the style of the datepicker help text.
* @fires auroDatePicker-ready - Notifies that the component has finished initializing.
* @fires auroDatePicker-validated - Notifies that the component value(s) have been validated.
* @fires auroDatePicker-valueSet - Notifies that the component has a new value set.
* @fires auroDatePicker-toggled - Notifies that the calendar dropdown has been opened/closed.
* @fires auroDatePicker-monthChanged - Notifies that the visible calendar month(s) have changed.
* @event auroDatePicker-ready - Notifies that the component has finished initializing.
* @event auroDatePicker-validated - Notifies that the component value(s) have been validated.
* @event auroDatePicker-valueSet - Notifies that the component has a new value set.
* @event auroDatePicker-toggled - Notifies that the calendar dropdown has been opened/closed.
* @event auroDatePicker-monthChanged - Notifies that the visible calendar month(s) have changed.
*/

// build the component class
Expand Down

0 comments on commit 5039bcb

Please sign in to comment.