Skip to content
This repository has been archived by the owner on Jan 9, 2019. It is now read-only.

Consolidate with eslint-config-wordpress? #23

Open
GaryJones opened this issue Oct 19, 2018 · 2 comments
Open

Consolidate with eslint-config-wordpress? #23

GaryJones opened this issue Oct 19, 2018 · 2 comments

Comments

@GaryJones
Copy link

How much does this ESLint config differ from eslint-config-wordpress, the ESLint config used by WP core, and why?

Could the rules in the index.js be made to extend eslint-config-wordpress, followed by just the rules that actually differ?

@aduth
Copy link
Contributor

aduth commented Oct 19, 2018

The Calypso standards are forked from the WordPress standards, but in practice inherit many / most of its rules, and a reconciliation might be possible.

It would first depend on some consolidation in core though, notably between:

Also probably dependent on a reconciliation between Gutenberg's standard and that of core, of which standards changes are to be proposed:

https://make.wordpress.org/core/2018/07/17/javascript-chat-summary-july-17th/

@GaryJones
Copy link
Author

Pinging @ntwb for input.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants