From 9c241dc26faa4e5de98a7623220ac77ed6f8f318 Mon Sep 17 00:00:00 2001 From: Joe Lencioni Date: Tue, 29 Mar 2016 13:42:43 -0700 Subject: [PATCH] Change "AirBnB" to "Airbnb" This is the correct capitalization of Airbnb. --- content/code-style.md | 6 +++--- outlines/code-style.md | 2 +- outlines/structure.md | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/content/code-style.md b/content/code-style.md index 7e797976..f46cc83b 100644 --- a/content/code-style.md +++ b/content/code-style.md @@ -72,13 +72,13 @@ All of the code samples in this guide and future Meteor tutorials will use all o

Follow a JavaScript style guide

-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).

Check your code with ESLint

"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. @@ -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: ``` { diff --git a/outlines/code-style.md b/outlines/code-style.md index 1cf1833b..ea2339ef 100644 --- a/outlines/code-style.md +++ b/outlines/code-style.md @@ -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 diff --git a/outlines/structure.md b/outlines/structure.md index 3101e8c6..8193cab2 100644 --- a/outlines/structure.md +++ b/outlines/structure.md @@ -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