Skip to content

Setting up linter in Atom editor

August 16, 2016
  1. Install react package from apm
    apm install react
  2. Create a .eslintrc file with the the minimum configuration of
{
  "parserOptions": {
    "ecmaFeatures": {
      "jsx": true
    }
  },
  "env": {
    "es6": true
  }
}

Now restart your atom editor.

 

References:

http://orktes.github.io/atom-react/

http://stackoverflow.com/a/35611103/189006

Advertisements

From → Atom, Uncategorized

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: