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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update: Allow $schema in config #12612

Merged
merged 1 commit into from Dec 19, 2019
Merged

Update: Allow $schema in config #12612

merged 1 commit into from Dec 19, 2019

Conversation

yordis
Copy link
Contributor

@yordis yordis commented Nov 27, 2019

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

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

What changes did you make? (Give an overview)

Allowed the usage of $schema in the configuration. This key is useful for some IDEs to find information about the schema of the JSON 馃し鈥嶁檪

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

Make sure that I validated the key correctly

@jsf-clabot
Copy link

jsf-clabot commented Nov 27, 2019

CLA assistant check
All committers have signed the CLA.

@eslint-deprecated eslint-deprecated bot added the triage An ESLint team member will look at this issue soon label Nov 27, 2019
@yordis yordis changed the title Whitelist schema Update: Allow $schema in config Nov 29, 2019
@yordis
Copy link
Contributor Author

yordis commented Dec 9, 2019

@kaicataldo could you give me a hand with this, please 馃檹

@kaicataldo
Copy link
Member

I'm not against this change if it helps folks! It looks like there's another PR here, as well as an alternative proposal here.

@kaicataldo kaicataldo added core Relates to ESLint's core APIs and features enhancement This change enhances an existing feature of ESLint evaluating The team will evaluate this issue to decide whether it meets the criteria for inclusion and removed triage An ESLint team member will look at this issue soon labels Dec 10, 2019
@kaicataldo
Copy link
Member

Quick note: we generally require core changes to go through the RFC process outlined here, but I personally think this is a small enough change that it might not warrant it. Let's see what the rest of the team thinks.

@g-plane
Copy link
Member

g-plane commented Dec 10, 2019

I also agree that this is a small change.

@ilyavolodin
Copy link
Member

Agree, this does not require RFC

@ilyavolodin ilyavolodin self-assigned this Dec 11, 2019
@ilyavolodin
Copy link
Member

I'll champion this. @eslint/eslint-team does anyone want's to support it?

@kaicataldo kaicataldo added accepted There is consensus among the team that this change meets the criteria for inclusion and removed evaluating The team will evaluate this issue to decide whether it meets the criteria for inclusion labels Dec 11, 2019
@kaicataldo
Copy link
Member

This has now been accepted.

@kaicataldo kaicataldo merged commit 1600648 into eslint:master Dec 19, 2019
@kaicataldo
Copy link
Member

Thanks for contributing!

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 core Relates to ESLint's core APIs and features enhancement This change enhances an existing feature of ESLint
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants