Skip to content

Instantly share code, notes, and snippets.

@renemonroy
Created February 12, 2016 22:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save renemonroy/4fc8ee4dcd4815d9e140 to your computer and use it in GitHub Desktop.
Save renemonroy/4fc8ee4dcd4815d9e140 to your computer and use it in GitHub Desktop.
Linting ES6+Babel+JSX in Atom

Setup ES6+Babel+JSX Linting with Atom

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

Steps

  1. Download Atom and get these two 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 and the ESlint config docs for more information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment