Skip to content

Align linting and formatting rules with flyway-github-actions#245

Merged
Buster-Darragh-Major merged 3 commits intomainfrom
align-linting-rules
Feb 12, 2026
Merged

Align linting and formatting rules with flyway-github-actions#245
Buster-Darragh-Major merged 3 commits intomainfrom
align-linting-rules

Conversation

@Buster-Darragh-Major
Copy link
Contributor

Summary

  • Replaces eslint-config-prettier and globals with eslint-plugin-import and @vitest/eslint-plugin to match the flyway-github-actions linting setup
  • Adopts the same ESLint rules: func-style (expression), import/group-exports, no-explicit-any as warn, no-unused-vars with _ prefix pattern, and vitest-specific rules for test files (no vitest imports, prefer vi.doMock over vi.mock)
  • Converts .prettierrc.yml to .prettierrc (JSON format) and removes explicit --config flag from format scripts
  • Updates all source and test files to satisfy the new lint rules

Test plan

  • yarn lint:check passes clean
  • yarn format:check passes
  • yarn test — all 61 tests pass
  • yarn build succeeds

🤖 Generated with Claude Code

Buster-Darragh-Major and others added 2 commits February 12, 2026 15:41
Replace eslint-config-prettier and globals with eslint-plugin-import
and @vitest/eslint-plugin. Adopt the same ESLint rules: func-style
(expression), import/group-exports, no-explicit-any as warn, no-unused-vars
with _ pattern, and vitest-specific rules for test files.

Convert .prettierrc.yml to .prettierrc (JSON) and drop the explicit
--config flag from format scripts.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Convert all function declarations to arrow expressions (func-style)
and consolidate named exports into single export blocks
(import/group-exports).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Inputs is exported as a type and doesn't need to be extended,
so a type alias is more appropriate than an interface.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy link
Contributor

@wbosley wbosley left a comment

Choose a reason for hiding this comment

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

:D

@Buster-Darragh-Major Buster-Darragh-Major merged commit 73da23f into main Feb 12, 2026
25 checks passed
@Buster-Darragh-Major Buster-Darragh-Major deleted the align-linting-rules branch February 12, 2026 16:26
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.

3 participants