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

Fix Camelcase allow type #278

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Fix Camelcase allow type #278

wants to merge 1 commit into from

Conversation

eMerzh
Copy link

@eMerzh eMerzh commented Mar 20, 2024

as described here
https://eslint.org/docs/latest/rules/camelcase#options

the type should be a list of string

@Shinigami92
Copy link
Collaborator

Shinigami92 commented Mar 21, 2024

Please check

https://github.com/eslint/eslint/blob/b91f9dc072f17f5ea79803deb86cf002d031b4cf/lib/rules/camelcase.js#L48-L57

and if it is correctly

The rule types are generated from these schematas

@eMerzh
Copy link
Author

eMerzh commented Mar 21, 2024

oooh 🤔 maybe it's the translation that is wrong 🤔

bc

items: [
                            {
                                type: "string"
                            }
                        ]

i guess it means an array of string?

@eMerzh
Copy link
Author

eMerzh commented Mar 21, 2024

but open upstream bcherny/json-schema-to-typescript#584

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.

2 participants