Skip to content

use @shopify/eslint-plugin#31

Merged
lopert merged 2 commits into
mainfrom
lopert.add-prettier
Oct 29, 2025
Merged

use @shopify/eslint-plugin#31
lopert merged 2 commits into
mainfrom
lopert.add-prettier

Conversation

@lopert
Copy link
Copy Markdown
Collaborator

@lopert lopert commented Oct 28, 2025

Adds @shopify/eslint-plugin to standardize formatting and linting.
Since there are other PRs in flight, I chose to not apply the changes to the actual files yet.
I can do that in a later PR and hook it into CI at that time.

@lopert lopert marked this pull request as ready for review October 28, 2025 20:56
Comment thread eslint.config.js
// Allow inline comments
'line-comment-position': 'off',
// Allow buildSchema (not just buildClientSchema)
'@shopify/typescript-prefer-build-client-schema': 'off',
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This is good but no-undef and un-unassigned-vars could also be good additions.

Comment thread eslint.config.js Outdated
{
rules: {
// Relax some rules for a library project
'@typescript-eslint/no-explicit-any': 'warn',
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Are there uses of any in here? We generally should try not to use that.

@lopert lopert merged commit 44b66af into main Oct 29, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants