Skip to content

Commit d19d3b5

Browse files
author
Abhishek Bindra
committed
fix PR check
1 parent 44fe062 commit d19d3b5

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed

.eslintrc.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ module.exports = {
1010
},
1111
globals: {
1212
axe: true,
13-
Promise: true
13+
Promise: true,
14+
a11yEngine: true
1415
},
1516
rules: {
1617
'no-bitwise': 2,

lib/checks/color/link-in-text-block-evaluate.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import {
44
getBackgroundColor,
55
incompleteData
66
} from '../../commons/color';
7-
import a11yEngineCommons from '../../commons/a11y-engine-index';
87

98
function getContrast(color1, color2) {
109
var c1lum = color1.getRelativeLuminance();
@@ -53,7 +52,7 @@ function linkInTextBlockEvaluate(node, options) {
5352
) {
5453
return true;
5554
}
56-
return a11yEngineCommons.distinguishableLinkEvaluate(node, parentBlock);
55+
return a11yEngine.commons.distinguishableLinkEvaluate(node, parentBlock);
5756
}
5857

5958
// Capture colors

lib/commons/a11y-engine-index.js

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)