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:
parent
060eb52d32
commit
93c9da2c2e
21 changed files with 52 additions and 55 deletions
|
|
@ -1,5 +1,5 @@
|
|||
import { TestInterface } from "ava";
|
||||
import sinon from "sinon";
|
||||
import * as sinon from "sinon";
|
||||
|
||||
import * as CodeQL from "./codeql";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue