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

[kbn-plugin-generator] add eslint-plugin-jsx-a11y to plugin devDeps #25606

Merged
merged 5 commits into from
Nov 15, 2018

Conversation

spalger
Copy link
Contributor

@spalger spalger commented Nov 13, 2018

#23932 added a peerDep for eslint-plugin-jsx-a11y which was not being installed automatically via the plugin generator. And the most recent version of eslint-plugin-react requests that the react version be defined in the eslint settings. To make plugin setup as easy as possible I've added these to the plugin generator and shared eslint config.

@spalger spalger added review chore Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc v7.0.0 v6.6.0 labels Nov 13, 2018
@spalger spalger requested a review from azasypkin November 13, 2018 20:08
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-platform

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@spalger spalger requested a review from azasypkin November 14, 2018 14:27
@spalger
Copy link
Contributor Author

spalger commented Nov 14, 2018

retest

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Copy link
Member

@azasypkin azasypkin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@@ -1,3 +1,6 @@
const semver = require('semver')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

optional nit: ; at the end of the line.

@spalger spalger merged commit 707a035 into elastic:master Nov 15, 2018
spalger pushed a commit to spalger/kibana that referenced this pull request Nov 15, 2018
…lastic#25606)

* [kbn-plugin-generator] add eslint-plugin-jsx-a11y to plugin devDeps, specify react version in config

* [eslint/react] use semver package to coerce version range

* fix semicolons
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

spalger pushed a commit that referenced this pull request Nov 16, 2018
…25606) (#25772)

* [kbn-plugin-generator] add eslint-plugin-jsx-a11y to plugin devDeps, specify react version in config

* [eslint/react] use semver package to coerce version range

* fix semicolons
@spalger
Copy link
Contributor Author

spalger commented Nov 16, 2018

6.x/6.6: fd2bcca

@spalger spalger deleted the fix/plugin-generator/eslint branch November 16, 2018 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore review Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc v6.6.0 v7.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants