Skip to content

Use ESLint Stylistic without hard wrapping - #6

Merged
samuel-williams-shopify merged 2 commits into
mainfrom
add-eslint-stylistic
Aug 16, 2026
Merged

Use ESLint Stylistic without hard wrapping#6
samuel-williams-shopify merged 2 commits into
mainfrom
add-eslint-stylistic

Conversation

@samuel-williams-shopify

Copy link
Copy Markdown
Contributor

Summary

  • replace Prettier with ESLint Stylistic for fixable JavaScript style rules
  • preserve authored line breaks by omitting line-width and reflow rules
  • enforce tab indentation through ESLint and EditorConfig
  • add a dedicated style check to CI

This is an alternative to #5. It enforces the existing preferences for tabs, single quotes, semicolons, spacing, and trailing commas without deciding when arrays, calls, or expressions should wrap.

Churn

The JavaScript changes are almost entirely removal of trailing whitespace, plus two import-spacing fixes and one quote normalization. Most of the raw diff size comes from adding ESLint dependencies to package-lock.json.

Validation

  • npm ci
  • npm run format:check
  • npm test (858 tests)

@samuel-williams-shopify
samuel-williams-shopify merged commit ad389e1 into main Aug 16, 2026
8 checks passed
@samuel-williams-shopify
samuel-williams-shopify deleted the add-eslint-stylistic branch August 16, 2026 00:11
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.

1 participant