Skip to content

Commit

Permalink
remove legacy eslnit no-console directives
Browse files Browse the repository at this point in the history
  • Loading branch information
stanislav-atr committed Nov 16, 2022
1 parent a2b90e5 commit 117da17
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/scriptlets/log-on-stack-trace.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export function logOnStacktrace(source, property) {
}

let value = base[prop];
/* eslint-disable no-console, compat/compat */
/* eslint-disable compat/compat */
setPropertyAccess(base, prop, {
get() {
hit(source);
Expand All @@ -95,7 +95,7 @@ export function logOnStacktrace(source, property) {
value = newValue;
},
});
/* eslint-enable no-console, compat/compat */
/* eslint-enable compat/compat */
};

setChainPropAccess(window, property);
Expand Down
2 changes: 1 addition & 1 deletion src/scriptlets/prevent-fab-3.2.0.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* eslint-disable no-console, func-names, no-multi-assign */
/* eslint-disable func-names, no-multi-assign */
import { hit, noopFunc, noopThis } from '../helpers/index';

/**
Expand Down

0 comments on commit 117da17

Please sign in to comment.