Skip to content

Comments

Fixed small lint error.#126

Merged
BigBlueHat merged 1 commit intomainfrom
lint-fix
Jan 30, 2026
Merged

Fixed small lint error.#126
BigBlueHat merged 1 commit intomainfrom
lint-fix

Conversation

@BigBlueHat
Copy link
Contributor

No description provided.

@BigBlueHat BigBlueHat requested a review from davidlehn January 30, 2026 19:55
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jan 30, 2026

Deploying vc-examples with  Cloudflare Pages  Cloudflare Pages

Latest commit: a90afc7
Status: ✅  Deploy successful!
Preview URL: https://7423c282.vc-examples.pages.dev
Branch Preview URL: https://lint-fix.vc-examples.pages.dev

View logs

lib/index.js Outdated
const queriesText = await fs.readFile(queriesJsonPath, 'utf8');
queries = JSON.parse(queriesText);
} catch(e) {
} catch() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
} catch() {
} catch { // eslint-disable-line @stylistic/keyword-spacing

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I went with } catch{ which looks weird...but felt less terrible than having the // eslint-disable-line @stylistic/keyword-spacing stuff...

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok. I've been preferring the override. Doesn't really matter. Eventually eslint and/or our rules will fix the edge case.

@BigBlueHat BigBlueHat merged commit 6f0d751 into main Jan 30, 2026
5 checks passed
@BigBlueHat BigBlueHat deleted the lint-fix branch January 30, 2026 21:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants