Skip to content

fix!: correct camelcase rule schema for allow option#18232

Merged
nzakas merged 1 commit intoeslint:mainfrom
eMerzh:fix_schema
Apr 1, 2024
Merged

fix!: correct camelcase rule schema for allow option#18232
nzakas merged 1 commit intoeslint:mainfrom
eMerzh:fix_schema

Conversation

@eMerzh
Copy link
Copy Markdown
Contributor

@eMerzh eMerzh commented Mar 26, 2024

Prerequisites checklist

What is the purpose of this pull request? (put an "X" next to an item)

The Json schema of the camelCase rule validate that the first element is a string instead of validating that it's an array of string

[ ] Documentation update
[x] Bug fix (template)
[ ] New rule (template)
[ ] Changes an existing rule (template)
[ ] Add autofix to a rule
[ ] Add a CLI option
[ ] Add something to the core
[ ] Other, please explain:

What changes did you make? (Give an overview)

Correct the Json Schema

Is there anything you'd like reviewers to focus on?

Nope

Loading
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

accepted There is consensus among the team that this change meets the criteria for inclusion archived due to age This issue has been archived; please open a new issue for any further discussion breaking This change is backwards-incompatible bug ESLint is working incorrectly contributor pool rule Relates to ESLint's core rules

Projects

Archived in project
Status: Done

Development

Successfully merging this pull request may close these issues.

7 participants