Try adding @ts-ignore/etc. to resolve Windows/Node 14-only break when ci script invokes build-demo.

This commit is contained in:
David Anson 2021-01-06 20:20:18 -08:00
parent d5b1122ef1
commit 01d216ff6a
3 changed files with 8 additions and 2 deletions

View file

@ -54,7 +54,8 @@ const rules = [
];
rules.forEach((rule) => {
const name = rule.names[0].toLowerCase();
rule.information =
// eslint-disable-next-line dot-notation
rule["information"] =
new URL(`${homepage}/blob/v${version}/doc/Rules.md#${name}`);
});
module.exports = rules;