mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
chore: Fix lint for non @k8slens/core packages
- Update eslint config to be tighter in control Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
fcef072859
commit
6184c2f03b
29 files changed
+291
-292
No files matched your search
@@ -98,14 +98,15 @@ describe("register-feature", () => {
|
||||
});
|
||||
|
||||
it("given di-container and registered Features with injectables forming a cycle, when an injectable is injected, throws with namespaced error about cycle", () => {
|
||||
const someInjectable: Injectable<any> = getInjectable({
|
||||
const someInjectable: Injectable<unknown> = getInjectable({
|
||||
id: "some-injectable-1",
|
||||
// eslint-disable-next-line @typescript-eslint/no-use-before-define
|
||||
instantiate: (di) => di.inject(someInjectable2),
|
||||
});
|
||||
|
||||
const someInjectable2: Injectable<any> = getInjectable({
|
||||
const someInjectable2: Injectable<unknown> = getInjectable({
|
||||
id: "some-injectable-2",
|
||||
// eslint-disable-next-line @typescript-eslint/no-use-before-define
|
||||
instantiate: (di) => di.inject(someInjectable),
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user