Skip to content

Instantly share code, notes, and snippets.

@renemonroy
Created February 12, 2016 22:06
Show Gist options
  • Select an option

  • Save renemonroy/4fc8ee4dcd4815d9e140 to your computer and use it in GitHub Desktop.

Select an option

Save renemonroy/4fc8ee4dcd4815d9e140 to your computer and use it in GitHub Desktop.

Revisions

  1. @darokel darokel revised this gist Aug 2, 2015. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions setup-es6-linting.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    # Setup ES6+JSX Linting with Atom
    # Setup ES6+Babel+JSX Linting with Atom

    This sets up Atom to properly lint ES6+JSX using Airbnb's .eslintrc as a starting point.
    This sets up Atom to properly lint ES6+Babel+JSX using Airbnb's .eslintrc as a starting point.

    ## Steps

  2. @darokel darokel created this gist Aug 2, 2015.
    13 changes: 13 additions & 0 deletions setup-es6-linting.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    # Setup ES6+JSX Linting with Atom

    This sets up Atom to properly lint ES6+JSX using Airbnb's .eslintrc as a starting point.

    ## Steps

    1. Download [Atom](https://atom.io/) and get these two packages: [Linter](https://atom.io/packages/linter) and [Linter-ESLint)(https://atom.io/packages/linter-eslint)
    2. Run `npm install --save-dev eslint-config-airbnb babel-eslint eslint-plugin-react` from your project root.
    3. Add `"extends": "eslint-config-airbnb"` to your .eslintrc

    See [Airbnb's Javascript styleguide](https://github.com/airbnb/javascript) and
    the [ESlint config docs](http://eslint.org/docs/user-guide/configuring#extending-configuration-files)
    for more information.