Skip to content

Commit 2dca868

Browse files
committed
refactor(eslint): fix unicorn/prefer-prototype-methods (refs SFKUI-6500)
1 parent bda89e9 commit 2dca868

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

eslint.config.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,6 @@ export default [
148148
"unicorn/prefer-dom-node-remove": "off",
149149
"unicorn/prefer-dom-node-text-content": "off",
150150
"unicorn/prefer-number-properties": "off",
151-
"unicorn/prefer-prototype-methods": "off",
152151
"unicorn/prefer-query-selector": "off",
153152
"unicorn/prefer-set-has": "off",
154153
"unicorn/prefer-string-replace-all": "off",

packages/vue/src/components/FInteractiveTable/FInteractiveTable.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ watch(
349349
);
350350
351351
function updateTr(tbodyElement: HTMLElement): void {
352-
trAll.value = [].slice.call(tbodyElement.children) as HTMLElement[];
352+
trAll.value = Array.prototype.slice.call(tbodyElement.children) as HTMLElement[];
353353
const trInteractableElements = trAll.value.filter((tr) => {
354354
return tr.tabIndex === 0;
355355
});

0 commit comments

Comments
 (0)