Skip to content

Commit e3707f2

Browse files
committed
fix: do not show warnings about unsupported rules
1 parent abb6c91 commit e3707f2

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/index.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,11 @@ class A11yDeveloperToolsRunner {
1313

1414
getRunnable() {
1515
/* global axs:false */
16-
/* eslint-disable no-var */
16+
/* eslint-disable no-var, vars-on-top */
1717
return function axsRunner() {
18-
var results = axs.Audit.run();
18+
var configuration = new axs.AuditConfiguration();
19+
configuration.showUnsupportedRulesWarning = false;
20+
var results = axs.Audit.run(configuration);
1921
window.callPhantom(null, axs.Audit.auditResults(results));
2022
};
2123
}

0 commit comments

Comments
 (0)