Skip to content

Commit

Permalink
Remove unneeded eslint exception
Browse files Browse the repository at this point in the history
Fixed by upstream elastic#76471
  • Loading branch information
rylnd committed Sep 4, 2020
1 parent 9b16fe5 commit 7d359ed
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,6 @@ const CreateRulePageComponent: React.FC = () => {
[activeStep, openSteps]
);

// https://github.com/eslint/eslint/issues/12642
/* eslint-disable no-unused-expressions */
const toggleStepAccordion = (step: RuleStep | null) => {
if (step === RuleStep.defineRule) {
defineRuleRef.current?.onToggle();
Expand All @@ -162,7 +160,6 @@ const CreateRulePageComponent: React.FC = () => {
ruleActionsRef.current?.onToggle();
}
};
/* eslint-enable no-unused-expressions */

const editStep = useCallback(
async (step: RuleStep) => {
Expand Down

0 comments on commit 7d359ed

Please sign in to comment.