Skip to content

Instantly share code, notes, and snippets.

@kas
kas / setup-es6-linting.md
Created Jan 29, 2017
Linting ES6+Babel+JSX in Atom
View setup-es6-linting.md

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
You can’t perform that action at this time.