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

[7.0] [eslint] merge custom rules into a single plugin (#33733) #33759

Merged
merged 1 commit into from
Mar 23, 2019

Conversation

spalger
Copy link
Contributor

@spalger spalger commented Mar 23, 2019

Backports the following commits to 7.0:

I'd like to add another custom eslint rule, but there isn't a very good place to do that right now. We have the `eslint-plugin-kibana-custom` package, which is super simple but isn't in the `@kbn` namespace and isn't included in the root eslint config, and `@kbn/eslint-plugin-license-header` is too specific, so I've merged those two packages into `@kbn/eslint-plugin-eslint`, which is a little redundant but allows is to refer to the rules within it as `@kbn/eslint/{rule}`, which feels nice.

Thoughts?

_**NOTE:**_ merging the eslint rules from the two packages means enabling prettier for the code from `@kbn/eslint-plugin-license-header`, all those changes are made in elastic@42c7da6. [View the changes without the prettier updates](elastic/kibana@b647f2b...74e07a0)
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@spalger spalger merged commit 56352b2 into elastic:7.0 Mar 23, 2019
@spalger spalger deleted the backport/7.0/pr-33733 branch March 23, 2019 01:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants