Align linting and formatting rules with flyway-github-actions#245
Merged
Buster-Darragh-Major merged 3 commits intomainfrom Feb 12, 2026
Merged
Align linting and formatting rules with flyway-github-actions#245Buster-Darragh-Major merged 3 commits intomainfrom
Buster-Darragh-Major merged 3 commits intomainfrom
Conversation
c2413cd to
d704c16
Compare
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>
d704c16 to
5f5d5c5
Compare
wbosley
reviewed
Feb 12, 2026
BradleyMcGill
approved these changes
Feb 12, 2026
wbosley
requested changes
Feb 12, 2026
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
eslint-config-prettierandglobalswitheslint-plugin-importand@vitest/eslint-pluginto match the flyway-github-actions linting setupfunc-style(expression),import/group-exports,no-explicit-anyas warn,no-unused-varswith_prefix pattern, and vitest-specific rules for test files (no vitest imports, prefervi.doMockovervi.mock).prettierrc.ymlto.prettierrc(JSON format) and removes explicit--configflag from format scriptsTest plan
yarn lint:checkpasses cleanyarn format:checkpassesyarn test— all 61 tests passyarn buildsucceeds🤖 Generated with Claude Code