-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
docs(eslint-plugin): add instructions for using Airbnb's config #177
New issue
Have a question about this project? Sign up for a free G 8000 itHub 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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
one change otherwise LGTM.
Co-Authored-By: aboyton <aboyton@users.noreply.github.com>
packages/eslint-plugin/README.md
Outdated
|
||
Airbnb has two configs, a base one [`eslint-config-airbnb-base`](https://github.com/airbnb/javascript/tree/master/packages/eslint-config-airbnb-base) and one that includes rules for React [`eslint-config-airbnb`](https://github.com/airbnb/javascript/tree/master/packages/eslint-config-airbnb). | ||
|
||
First you'll need to install the config acrording to the instructions in one of the links above. `npx install-peerdeps --dev eslint-config-airbnb` or `npx install-peerdeps --dev eslint-config-airbnb-base` should work if you are using **npm 5+**. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
acrording
Typo: should be "according"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo already pointed out
…ipt-eslint#177) (typescript-eslint#183) * Fix: camelcase properties in interfaces (fixes typescript-eslint#177)
Here's how I've got AIrbnb's style guides working.
Ref #147