Skip to content

Commit

Permalink
Removed eslint disable for no-underscore-dangle
Browse files Browse the repository at this point in the history
  • Loading branch information
gjacob24 committed Aug 21, 2024
1 parent 8f18468 commit 10852d4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/javascript/src/usage/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ $(() => {
const segment = points[0];
if (!isUndefined(segment)) {
const target = $('#users_click_target').val();
/* eslint-disable no-underscore-dangle, no-restricted-globals */
/* eslint-disable no-restricted-globals */
const label = chart.data.labels[segment.index];
$(location).attr('href', `${target}?${labelToUrl(label)}`);
/* eslint-enable no-underscore-dangle, no-restricted-globals */
/* eslint-enable no-restricted-globals */
}
});
}
Expand All @@ -64,10 +64,10 @@ $(() => {
const segment = points[0];
if (!isUndefined(segment)) {
const target = $('#plans_click_target').val();
/* eslint-disable no-underscore-dangle, no-restricted-globals */
/* eslint-disable no-restricted-globals */
const label = chart.data.labels[segment.index];
$(location).attr('href', `${target}?${labelToUrl(label)}`);
/* eslint-enable no-underscore-dangle, no-restricted-globals */
/* eslint-enable no-restricted-globals */
}
});
}
Expand Down

0 comments on commit 10852d4

Please sign in to comment.