Skip to content

Commit

Permalink
Reflect linting
Browse files Browse the repository at this point in the history
  • Loading branch information
VenelinBakalov committed Jul 4, 2024
1 parent 64f69c0 commit f7a7adb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ class HintStore<T> {
}
}

/* eslint-disable ban-ts-comment */
@AutoWire
export class HintLookup implements Disposable {
private readonly logger = Logger.get("HintLookup")
Expand Down Expand Up @@ -112,10 +113,10 @@ export class HintLookup implements Disposable {
return []
}

const localCategories = workspaceFolder
const localCategories = workspaceFolder ?
// @ts-ignore
? _.flatMap(this.configs.local[workspaceFolder.uri.fsPath], pack => pack.categories)
: []
_.flatMap(this.configs.local[workspaceFolder.uri.fsPath], pack => pack.categories) :
[]
const globalCategories = _.flatMap(this.configs.global, pack => pack.categories)
return _.unionWith(localCategories, globalCategories, (x, y) => x.path === y.path)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export class CollectionData {
vpkResourceId: string | undefined = undefined
}

/* eslint-disable ban-ts-comment */
@AutoWire
export class ServerCollection {
private readonly logger = Logger.get("ServerCollection")
Expand Down

0 comments on commit f7a7adb

Please sign in to comment.