Reference exported names via import *.

Rather than via properties on default exports — see
https://github.com/import-js/eslint-plugin-import/blob/master/docs/rules/no-named-as-default-member.md
This commit is contained in:
Henry Mercer
2021-08-11 13:14:56 +01:00
parent 060eb52d32
commit 93c9da2c2e
21 changed files with 52 additions and 55 deletions

View File

@@ -4,7 +4,7 @@ import * as path from "path";
import * as github from "@actions/github";
import test, { ExecutionContext } from "ava";
import { clean } from "semver";
import sinon from "sinon";
import * as sinon from "sinon";
import * as api from "./api-client";
import { getCachedCodeQL, setCodeQL } from "./codeql";