Skip to content

Commit

Permalink
Change "AirBnB" to "Airbnb"
Browse files Browse the repository at this point in the history
This is the correct capitalization of Airbnb.
  • Loading branch information
lencioni committed Mar 29, 2016
1 parent 4266719 commit 9c241dc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions content/code-style.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,13 @@ All of the code samples in this guide and future Meteor tutorials will use all o

<h3 id="style-guide">Follow a JavaScript style guide</h3>

We recommend choosing and sticking to a JavaScript style guide and enforcing it with tools. A popular option that we recommend is the [AirBnB style guide](https://github.com/airbnb/javascript) with the ES6 extensions (and optionally React extensions).
We recommend choosing and sticking to a JavaScript style guide and enforcing it with tools. A popular option that we recommend is the [Airbnb style guide](https://github.com/airbnb/javascript) with the ES6 extensions (and optionally React extensions).

<h2 id="eslint">Check your code with ESLint</h2>

"Code linting" is the process of automatically checking your code for common errors or style problems. For example, ESLint can determine if you have made a typo in a variable name, or some part of your code is unreachable because of a poorly written `if` condition.

We recommend using the [AirBnB eslint configuration](https://github.com/airbnb/javascript/tree/master/packages/eslint-config-airbnb) which verifies the AirBnB styleguide.
We recommend using the [Airbnb eslint configuration](https://github.com/airbnb/javascript/tree/master/packages/eslint-config-airbnb) which verifies the Airbnb styleguide.

Below, you can find directions for setting up automatic linting at many different stages of development. In general, you want to run the linter as often as possible, because it's the fastest and easiest way to identify typos and small errors.

Expand All @@ -90,7 +90,7 @@ To setup ESLint in your application, you can install the following npm packages:
npm install --save-dev eslint eslint-plugin-react eslint-plugin-meteor eslint-config-airbnb
```

You can also add a `eslintConfig` section to your `package.json` to specify that you'd like to use the AirBnB config, and to enable [ESLint-plugin-Meteor](https://github.com/dferber90/eslint-plugin-meteor). You can also setup any extra rules you want to change, as well as adding a lint npm command:
You can also add a `eslintConfig` section to your `package.json` to specify that you'd like to use the Airbnb config, and to enable [ESLint-plugin-Meteor](https://github.com/dferber90/eslint-plugin-meteor). You can also setup any extra rules you want to change, as well as adding a lint npm command:

```
{
Expand Down
2 changes: 1 addition & 1 deletion outlines/code-style.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
3. All Meteor code samples can follow your style
2. JavaScript and ES2015
1. Use JavaScript and compile all of your code with the `ecmascript` package
1. Follow the Meteor style guide, based on the AirBnB style guide
1. Follow the Meteor style guide, based on the Airbnb style guide
2. Use ESLint using the standard config, which is made to work with `ecmascript`
1. Running ESLint
1. Setting up linting in your editor
Expand Down
2 changes: 1 addition & 1 deletion outlines/structure.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
3. All Meteor code samples can follow your style
5. JavaScript and ES2015
1. Use JavaScript and compile all of your code with the `ecmascript` package
1. Follow the AirBnB style guide
1. Follow the Airbnb style guide
2. Use ESLint using the standard ABnB config, which is made to work with `ecmascript`
1. Running ESLint
1. Setting up linting in your editor
Expand Down

0 comments on commit 9c241dc

Please sign in to comment.