Skip to content

Commit

Permalink
Update es lint rules
Browse files Browse the repository at this point in the history
  • Loading branch information
VenelinBakalov committed Jul 4, 2024
1 parent c784058 commit 40d0165
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions .github/workflows/draft-release.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Draft Release
on:
workflow_dispatch:
push:
tags:
- "v*"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class HintStore<T> {
}
}

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

const localCategories = workspaceFolder ?
const localCategories = workspaceFolder
// @ts-ignore

Check failure on line 117 in packages/node/vro-language-server/src/server/core/HintLookup.ts

View workflow job for this annotation

GitHub Actions / Build and Release

Insert `?·`
_.flatMap(this.configs.local[workspaceFolder.uri.fsPath], pack => pack.categories) :
[]
? _.flatMap(this.configs.local[workspaceFolder.uri.fsPath], pack => pack.categories)

Check failure on line 118 in packages/node/vro-language-server/src/server/core/HintLookup.ts

View workflow job for this annotation

GitHub Actions / Build and Release

Replace `?` with `·`
: []
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,7 +27,7 @@ export class CollectionData {
vpkResourceId: string | undefined = undefined
}

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

0 comments on commit 40d0165

Please sign in to comment.