Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hotfix(eslint-plugin): Fix option schema #1139

Merged
merged 2 commits into from
Sep 27, 2024

Conversation

chloe463
Copy link
Contributor

@chloe463 chloe463 commented Sep 27, 2024

Why

Some plugin's options schema is wrong.

Exected

{
    "wantedly/nexus-camel-case-field-name": [
        "error",
        {
            autofix: true,
        },
    ],
}

Actual

{
    "wantedly/nexus-camel-case-field-name": [
        "error",
        "error",
        {
            autofix: true,
        },
    ],
}

What

Fixed.

cf. https://eslint.org/docs/latest/extend/custom-rules#options-schemas

@github-actions github-actions bot added repo Root directory of this project eslint-plugin-use-macros https://www.npmjs.com/package/eslint-plugin-use-macros eslint-plugin-wantedly https://www.npmjs.com/package/eslint-plugin-wantedly labels Sep 27, 2024
@chloe463 chloe463 merged commit 91677d8 into master Sep 27, 2024
4 checks passed
@chloe463 chloe463 deleted the chloe463/hotfix/rule-option-schema branch September 27, 2024 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
eslint-plugin-use-macros https://www.npmjs.com/package/eslint-plugin-use-macros eslint-plugin-wantedly https://www.npmjs.com/package/eslint-plugin-wantedly repo Root directory of this project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant